Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b19542d

Browse files
Fix minor docs markup errors.
1 parent 41e7244 commit b19542d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/decimal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ For more advanced work, it may be useful to create alternate contexts using the
261261
Context() constructor. To make an alternate active, use the :func:`setcontext`
262262
function.
263263

264-
In accordance with the standard, the :mod:`Decimal` module provides two ready to
264+
In accordance with the standard, the :mod:`decimal` module provides two ready to
265265
use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The
266266
former is especially useful for debugging because many of the traps are
267267
enabled:

Doc/library/profile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ you are using :class:`profile.Profile` or :class:`cProfile.Profile`,
638638

639639
pr = cProfile.Profile(your_integer_time_func, 0.001)
640640

641-
As the :mod:`cProfile.Profile` class cannot be calibrated, custom timer
641+
As the :class:`cProfile.Profile` class cannot be calibrated, custom timer
642642
functions should be used with care and should be as fast as possible. For
643643
the best results with a custom timer, it might be necessary to hard-code it
644644
in the C source of the internal :mod:`_lsprof` module.

0 commit comments

Comments
 (0)