Skip to content

Commit

Permalink
Removed unnecessary escaping of asterisks (python#103714)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
richard-hajek and ambv committed Apr 24, 2023
1 parent 4996efb commit 385d8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/decimal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 385d8d2

Please sign in to comment.