mirror of
https://github.com/python/cpython.git
synced 2025-09-11 11:17:16 +00:00
Fix docstring for contextfactory; mentioned old contextmanager name.
This commit is contained in:
parent
b75d43d374
commit
1e01397533
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def contextfactory(func):
|
|||
|
||||
Typical usage:
|
||||
|
||||
@contextmanager
|
||||
@contextfactory
|
||||
def some_generator(<arguments>):
|
||||
<setup>
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue