Update docs on factory delegation

This commit is contained in:
Roman Mogylatov 2017-10-13 10:18:40 -07:00
parent be65996e57
commit 73e5112938

View File

@ -80,6 +80,9 @@ Actually, there are three ways for creating factory delegates:
:py:class:`Delegate` provider.
+ ``Factory(...).delegate()`` - calling factory :py:meth:`Factory.delegate`
method, that returns delegate wrapper for current factory.
+ ``Factory(...).provider`` - getting factory :py:attr:`Factory.provider`
attribute, that returns delegate wrapper for current factory (alias of
``Factory(...).delegate()`` method).
Example: