summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Hajek <richard.m.hajek@gmail.com>2023-04-24 16:31:41 (GMT)
committerGitHub <noreply@github.com>2023-04-24 16:31:41 (GMT)
commit385d8d2b6438c7825006df6106dab41a95332a6a (patch)
tree21440e5a9d99587234518f1745a84a849f9d555c
parent4996efb09e2644157402b6b02aa24b45f5163050 (diff)
downloadcpython-385d8d2b6438c7825006df6106dab41a95332a6a.zip
cpython-385d8d2b6438c7825006df6106dab41a95332a6a.tar.gz
cpython-385d8d2b6438c7825006df6106dab41a95332a6a.tar.bz2
Removed unnecessary escaping of asterisks (#103714)
Removed unnecessary escaping of asterisks, as visible both on GitHub and in https://docs.python.org/3/library/decimal.html#decimal.localcontext Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
-rw-r--r--Doc/library/decimal.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 6187098..0b4a497 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -926,7 +926,7 @@ Each thread has its own current context which is accessed or changed using the
You can also use the :keyword:`with` statement and the :func:`localcontext`
function to temporarily change the active context.
-.. function:: localcontext(ctx=None, \*\*kwargs)
+.. function:: localcontext(ctx=None, **kwargs)
Return a context manager that will set the current context for the active thread
to a copy of *ctx* on entry to the with-statement and restore the previous context