diff --git a/docs/introduction/structure.rst b/docs/introduction/structure.rst index 3756e352..b2a5391a 100644 --- a/docs/introduction/structure.rst +++ b/docs/introduction/structure.rst @@ -24,7 +24,7 @@ There are 3 main entities: providers, injections and catalogs. Providers ~~~~~~~~~ -Providers are strategies of accesing objects. For example, +Providers are strategies of accessing objects. For example, :py:class:`dependency_injector.providers.Factory` creates new instance of provided class every time it is called. :py:class:`dependency_injector.providers.Singleton` creates provided diff --git a/docs/introduction/what_is_di.rst b/docs/introduction/what_is_di.rst index 7ffc060f..fb77865c 100644 --- a/docs/introduction/what_is_di.rst +++ b/docs/introduction/what_is_di.rst @@ -6,9 +6,7 @@ What is dependency injection and inversion of control? :description: This article provides definition of dependency injection, inversion of control and dependency inversion. It contains example code in Python that is refactored to be following - inversion of control principle and then enhanced by - inversion of control container based on "Dependency Injector" - declarative catalog. + inversion of control principle. Definition ~~~~~~~~~~