Update providers module API docs

This commit is contained in:
Roman Mogilatov 2015-11-25 15:13:27 +02:00
parent 6e6cac380b
commit 7c3daf4c64

View File

@ -29,7 +29,7 @@ class Provider(object):
method is called every time when not overridden provider is called.
:py:class:`Provider` implements provider overriding logic that should be
also common for all providers.
also common for all providers:
.. code-block:: python
@ -127,6 +127,9 @@ class Provider(object):
def reset_last_overriding(self):
"""Reset last overriding provider.
:raise: :py:exc:`dependency_injector.errors.Error` if provider is not
overridden.
:rtype: None
"""
if not self.overridden_by: