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

Skip to content

Commit fbd011d

Browse files
Fix minor docs markup errors.
2 parents a2a9df9 + b19542d commit fbd011d

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
@@ -263,7 +263,7 @@ For more advanced work, it may be useful to create alternate contexts using the
263263
Context() constructor. To make an alternate active, use the :func:`setcontext`
264264
function.
265265

266-
In accordance with the standard, the :mod:`Decimal` module provides two ready to
266+
In accordance with the standard, the :mod:`decimal` module provides two ready to
267267
use standard contexts, :const:`BasicContext` and :const:`ExtendedContext`. The
268268
former is especially useful for debugging because many of the traps are
269269
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)