[Python-checkins] cpython (merge 3.4 -> default): Fix minor docs markup errors.

serhiy.storchaka python-checkins at python.org
Sat Mar 14 20:35:07 CET 2015


https://hg.python.org/cpython/rev/a03cc14db96a
changeset: 94992:a03cc14db96a
parent: 94989:fabbe6093567
parent: 94991:5f49f79d5a83
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sat Mar 14 21:34:25 2015 +0200
summary:
 Fix minor docs markup errors.
files:
 Doc/library/decimal.rst | 2 +-
 Doc/library/profile.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -263,7 +263,7 @@
 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
--- a/Doc/library/profile.rst
+++ b/Doc/library/profile.rst
@@ -638,7 +638,7 @@
 
 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.
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /