]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed unnecessary escaping of asterisks (#103714)
authorRichard Hajek <richard.m.hajek@gmail.com>
Mon, 24 Apr 2023 16:31:41 +0000 (18:31 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2023 16:31:41 +0000 (16:31 +0000)
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>
Doc/library/decimal.rst

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