[Python-checkins] gh-105373: Fix decimal documentation formatting (#105395)

vstinner webhook-mailer at python.org
Tue Jun 6 15:43:42 EDT 2023


https://github.com/python/cpython/commit/dfe9fc1904820b4206d300e1abb93774e988694d
commit: dfe9fc1904820b4206d300e1abb93774e988694d
branch: main
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2023-06-06T21:43:35+02:00
summary:

gh-105373: Fix decimal documentation formatting (#105395)

The deprecation is on decimal.HAVE_THREADS, not on the whole module.

files:
M Doc/library/decimal.rst

diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 0b4a4973cb4d..20c5c7daac73 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -1497,7 +1497,7 @@ are also included in the pure Python version for compatibility.
 
    The value is ``True``.  Deprecated, because Python now always has threads.
 
-.. deprecated:: 3.9
+   .. deprecated:: 3.9
 
 .. data:: HAVE_CONTEXTVAR
 



More information about the Python-checkins mailing list