]> granicus.if.org Git - python/commitdiff
Fix minor docs markup errors.
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 14 Mar 2015 19:32:57 +0000 (21:32 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 14 Mar 2015 19:32:57 +0000 (21:32 +0200)
Doc/library/decimal.rst
Doc/library/profile.rst

index 059ae7cb1690475ce9bbbaa09e15de2fb507cd30..759be70c9fba6d614d1908a12fa546697083143d 100644 (file)
@@ -261,7 +261,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:
index f2453f1f856cc253603999e11561d20e00926bc3..6a6c4893f8e80fc2f3f0a6140a4be7cacb00c325 100644 (file)
@@ -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.