mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-26 03:23:58 +03:00
Minor changes for factory delegation docs
This commit is contained in:
parent
024b148c54
commit
0364128ba5
|
@ -364,7 +364,7 @@ Actually, there are two ways of creating factory delegates:
|
|||
|
||||
+ ``Delegate(Factory(...))`` - obviously wrapping factory into ``Delegate``
|
||||
provider.
|
||||
+ ``Factory().delegate()`` - calling factory ``delegate()`` method, that
|
||||
+ ``Factory(...).delegate()`` - calling factory ``delegate()`` method, that
|
||||
returns delegate wrapper for current factory.
|
||||
|
||||
Example:
|
||||
|
|
Loading…
Reference in New Issue
Block a user