mirror of https://github.com/python/cpython
Fix docstring for contextfactory; mentioned old contextmanager name.
This commit is contained in:
parent
b75d43d374
commit
1e01397533
|
@ -53,7 +53,7 @@ def contextfactory(func):
|
|||
|
||||
Typical usage:
|
||||
|
||||
@contextmanager
|
||||
@contextfactory
|
||||
def some_generator(<arguments>):
|
||||
<setup>
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue