summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-06 15:30:34 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-06 15:30:34 (GMT)
commit437e15d42b91434d6ec493be264e1d398daf828e (patch)
treed59a369a9168e20307bc5f017f4187fad12ac802
parentc45346f57a6b08f2bd6cd9c7c282ea9f22298ca4 (diff)
downloadcpython-437e15d42b91434d6ec493be264e1d398daf828e.zip
cpython-437e15d42b91434d6ec493be264e1d398daf828e.tar.gz
cpython-437e15d42b91434d6ec493be264e1d398daf828e.tar.bz2
#1680: fix context manager example function name.
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 40e11da..d3c5c63 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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