mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 01:47:36 +03:00 
			
		
		
		
	Update example paths in introduction/di_in_python.rst
This commit is contained in:
		
							parent
							
								
									6da0aaf77f
								
							
						
					
					
						commit
						a6a67a2b3d
					
				
							
								
								
									
										0
									
								
								docs/examples/index.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								docs/examples/index.rst
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								docs/examples/movie_lister.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								docs/examples/movie_lister.rst
									
									
									
									
									
										Normal 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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user