mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-10-31 07:57:43 +03:00 
			
		
		
		
	Add small improvements into di_in_python page
This commit is contained in:
		
							parent
							
								
									b8ab88dcd5
								
							
						
					
					
						commit
						e37a8cee3b
					
				|  | @ -115,10 +115,11 @@ Next example demonstrates creation of several cars with different engines: | |||
|    :language: python | ||||
|    :linenos: | ||||
| 
 | ||||
| While previous example demonstrates advantage of dependency injection, there  | ||||
| While previous example demonstrates advantages of dependency injection, there  | ||||
| is a disadvantage demonstration as well - creation of car requires additional  | ||||
| code for specification of dependencies. Nevertheless, this disadvantage could  | ||||
| be easily avoided by creating inversion of control container (IoC container). | ||||
| be easily avoided by using a dependency injection framework for creation of  | ||||
| inversion of control container (IoC container). | ||||
| 
 | ||||
| Example of creation of several inversion of control containers (IoC containers) | ||||
| using :doc:`Dependency Injector <../index>`: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user