]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#1680: fix context manager example function name.
authorGeorg Brandl <georg@python.org>
Sun, 6 Jan 2008 15:30:34 +0000 (15:30 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 6 Jan 2008 15:30:34 +0000 (15:30 +0000)
Doc/library/stdtypes.rst

index 40e11da544fb2431991e3788e7aa834a03fec097..d3c5c631d6fadb3f1318428303573143ba7bc4aa 100644 (file)
@@ -2190,7 +2190,7 @@ to be provided for a context manager object to define a runtime context:
    the context expression in a :keyword:`with` statement.
 
    An example of a context manager that returns a related object is the one
-   returned by ``decimal.Context.get_manager()``. These managers set the active
+   returned by :func:`decimal.localcontext`. These managers set the active
    decimal context to a copy of the original decimal context and then return the
    copy. This allows changes to be made to the current decimal context in the body
    of the :keyword:`with` statement without affecting code outside the