mirror of
https://github.com/python/cpython.git
synced 2025-09-11 19:27:07 +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:
|
Typical usage:
|
||||||
|
|
||||||
@contextmanager
|
@contextfactory
|
||||||
def some_generator(<arguments>):
|
def some_generator(<arguments>):
|
||||||
<setup>
|
<setup>
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue