Skip to content

Commit 9b43d7f

Browse files
Apply suggestions from code review
Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent 0a2a9fb commit 9b43d7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/decimal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@ are also included in the pure Python version for compatibility.
16051605

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

16101610
.. versionadded:: next
16111611

Lib/_pydecimal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
__xname__ = __name__ # sys.modules lookup (--without-threads)
5757
__name__ = 'decimal' # For pickling
5858
SPEC_VERSION = '1.70' # Highest version of the spec this complies with
59-
# See https://speleotrove.com/decimal/
59+
# See https://speleotrove.com/decimal/decarith.html
6060
__libmpdec_version__ = "2.4.2" # compatible libmpdec version
6161

6262
import math as _math
@@ -6408,5 +6408,5 @@ def __getattr__(name):
64086408
from warnings import _deprecated
64096409

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

0 commit comments

Comments
 (0)