Update example paths in introduction/di_in_python.rst

This commit is contained in:
Roman Mogilatov 2016-04-04 19:22:41 +03:00
parent 6da0aaf77f
commit a6a67a2b3d
3 changed files with 2 additions and 2 deletions

0
docs/examples/index.rst Normal file
View File

View File

View File

@ -86,12 +86,12 @@ Example
Let's go through next example: Let's go through next example:
.. literalinclude:: ../../../examples/ioc_di_demo/car_engine_1.py .. literalinclude:: ../../../examples/ioc_di_demos/car_engine_1.py
:language: python :language: python
``Car`` **creates** an ``Engine`` during its creation. Really? Does it make ``Car`` **creates** an ``Engine`` during its creation. Really? Does it make
more sense then creating an ``Engine`` separatelly and then more sense then creating an ``Engine`` separatelly and then
**put (inject) it into** ``Car`` when ``Car`` is being created? **put (inject) it into** ``Car`` when ``Car`` is being created?
.. literalinclude:: ../../../examples/ioc_di_demo/car_engine_2.py .. literalinclude:: ../../../examples/ioc_di_demos/car_engine_2.py
:language: python :language: python