summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-14 19:34:25 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-14 19:34:25 (GMT)
commitfbd011dd4982b883d18039f494475022fc2d0cc6 (patch)
tree9c26ea60562eec0e94cec70db81990835f49de82 /Doc/library
parenta2a9df9240ba695507afcc1d0835e1ede65a6077 (diff)
parentb19542d062603031ab3f4c2f5f485f449ebc46ca (diff)
downloadcpython-fbd011dd4982b883d18039f494475022fc2d0cc6.zip
cpython-fbd011dd4982b883d18039f494475022fc2d0cc6.tar.gz
cpython-fbd011dd4982b883d18039f494475022fc2d0cc6.tar.bz2
Fix minor docs markup errors.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/decimal.rst2
-rw-r--r--Doc/library/profile.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 7052985..5d7ffff 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -263,7 +263,7 @@ For more advanced work, it may be useful to create alternate contexts using the
Context() constructor. To make an alternate active, use the :func:`setcontext`
function.
-In accordance with the standard, the :mod:`Decimal` module provides two ready to
+In accordance with the standard, the :mod:`decimal` module provides two ready to
use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The
former is especially useful for debugging because many of the traps are
enabled:
diff --git a/Doc/library/profile.rst b/Doc/library/profile.rst
index f2453f1..6a6c489 100644
--- a/Doc/library/profile.rst
+++ b/Doc/library/profile.rst
@@ -638,7 +638,7 @@ you are using :class:`profile.Profile` or :class:`cProfile.Profile`,
pr = cProfile.Profile(your_integer_time_func, 0.001)
- As the :mod:`cProfile.Profile` class cannot be calibrated, custom timer
+ As the :class:`cProfile.Profile` class cannot be calibrated, custom timer
functions should be used with care and should be as fast as possible. For
the best results with a custom timer, it might be necessary to hard-code it
in the C source of the internal :mod:`_lsprof` module.