]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-105373: Fix decimal documentation formatting (#105395)
authorVictor Stinner <vstinner@python.org>
Tue, 6 Jun 2023 19:43:35 +0000 (21:43 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2023 19:43:35 +0000 (21:43 +0200)
The deprecation is on decimal.HAVE_THREADS, not on the whole module.

Doc/library/decimal.rst

index 0b4a4973cb4da004b7cb03a0fedff9775dd5ff07..20c5c7daac73bbe0ec9275db2d26355da8a118ec 100644 (file)
@@ -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