Skip to content

Commit d47d395

Browse files
committed
Feedback
1 parent d05bf63 commit d47d395

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/whatsnew/2.5.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ The contextlib module
745745
The new :mod:`contextlib` module provides some functions and a decorator that
746746
are useful for writing objects for use with the ':keyword:`with`' statement.
747747

748-
The decorator is called :deco:`contextmanager`, and lets you write a single
748+
The decorator is called :deco:`~contextlib.contextmanager`, and lets you write a single
749749
generator function instead of defining a new class. The generator should yield
750750
exactly one value. The code up to the :keyword:`yield` will be executed as the
751751
:meth:`~object.__enter__` method, and the value yielded will be the method's return

0 commit comments

Comments
 (0)