From eb6cd303deb58afe6ead1f95b138511682003032 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Thu, 2 Jun 2016 20:27:01 +0300 Subject: [PATCH] Update docs --- docs/introduction/structure.rst | 2 +- docs/introduction/what_is_di.rst | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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 ~~~~~~~~~~