Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
  • Loading branch information
StanFromIreland and skirpichev authored Oct 19, 2025
commit 9b43d7fc71e0bbd5a6e96ba66f69021b6ce2d230
2 changes: 1 addition & 1 deletion Doc/library/decimal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ are also included in the pure Python version for compatibility.

The highest version of the General Decimal Arithmetic
Specification that this implementation complies with.
See https://speleotrove.com/decimal/ for the specification.
See https://speleotrove.com/decimal/decarith.html for the specification.

.. versionadded:: next

Expand Down
4 changes: 2 additions & 2 deletions Lib/_pydecimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
__xname__ = __name__ # sys.modules lookup (--without-threads)
__name__ = 'decimal' # For pickling
SPEC_VERSION = '1.70' # Highest version of the spec this complies with
# See https://speleotrove.com/decimal/
# See https://speleotrove.com/decimal/decarith.html
__libmpdec_version__ = "2.4.2" # compatible libmpdec version

import math as _math
Expand Down Expand Up @@ -6408,5 +6408,5 @@ def __getattr__(name):
from warnings import _deprecated

_deprecated("__version__", remove=(3, 20))
return "1.70" # Do not change
return SPEC_VERSION
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
Loading