From 88b563269d7a3c6afce429458e5d73b8a3ca602f Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Fri, 3 Jun 2016 17:33:30 +0300 Subject: [PATCH] Update introduction docs for 2.0 --- docs/introduction/key_features.rst | 2 +- docs/introduction/structure.rst | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/introduction/key_features.rst b/docs/introduction/key_features.rst index a4f11038..0209c6ab 100644 --- a/docs/introduction/key_features.rst +++ b/docs/introduction/key_features.rst @@ -24,7 +24,7 @@ of Python objects and their dependencies in formal, pretty way. *Dependency Injector* framework could be used in different application types: + Web applications based on Flask, Django or any other web framework. -+ Asyncronous applications based on asyncio, Tornado and Twisted. ++ Asynchronous applications based on asyncio, Tornado and Twisted. + Standalone frameworks and libraries. + GUI applications. diff --git a/docs/introduction/structure.rst b/docs/introduction/structure.rst index 54f8d4d9..c085138e 100644 --- a/docs/introduction/structure.rst +++ b/docs/introduction/structure.rst @@ -15,7 +15,7 @@ interaction between each other. :width: 100% :align: center -There are 3 main entities: providers, containers. +There are 2 main entities: providers & containers. Providers ~~~~~~~~~ @@ -24,9 +24,7 @@ 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 -instance once and returns it on every next call. Providers could be -injected into each other. Providers could be overridden by another -providers. Base class is - +instance once and returns it on every next call. Base class is - :py:class:`dependency_injector.providers.Provider`. Providers could be: