We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d05bf63 commit d47d395Copy full SHA for d47d395
1 file changed
Doc/whatsnew/2.5.rst
@@ -745,7 +745,7 @@ The contextlib module
745
The new :mod:`contextlib` module provides some functions and a decorator that
746
are useful for writing objects for use with the ':keyword:`with`' statement.
747
748
-The decorator is called :deco:`contextmanager`, and lets you write a single
+The decorator is called :deco:`~contextlib.contextmanager`, and lets you write a single
749
generator function instead of defining a new class. The generator should yield
750
exactly one value. The code up to the :keyword:`yield` will be executed as the
751
:meth:`~object.__enter__` method, and the value yielded will be the method's return
0 commit comments