mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-06-15 02:53:12 +03:00
Update overriding context docblock
This commit is contained in:
parent
7e1ee9b66a
commit
43cc6a2e06
|
@ -351,8 +351,8 @@ class OverridingContext(object):
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
with provider.override(another_provider):
|
with provider.override(another_provider):
|
||||||
assert provider.is_overridden
|
assert provider.overridden
|
||||||
assert not provider.is_overridden
|
assert not provider.overridden
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, overridden, overriding):
|
def __init__(self, overridden, overriding):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user