]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-114811: Change '\*' to '*' in warnings.rst (GH-114819) (#114837)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 1 Feb 2024 01:54:25 +0000 (02:54 +0100)
committerGitHub <noreply@github.com>
Thu, 1 Feb 2024 01:54:25 +0000 (01:54 +0000)
Regression in 3.12.
(cherry picked from commit ff8939e5abaad7cd87f4d1f07ca7f6d176090f6c)

Co-authored-by: Pradyot Ranjan <99216956+prady0t@users.noreply.github.com>
Doc/library/warnings.rst

index 884de08eab1b16ae8a0d2210005366a85716d048..db3534dd632f1d420bf3867ac27c22803220811d 100644 (file)
@@ -396,7 +396,7 @@ Available Functions
 -------------------
 
 
-.. function:: warn(message, category=None, stacklevel=1, source=None, \*, skip_file_prefixes=None)
+.. function:: warn(message, category=None, stacklevel=1, source=None, *, skip_file_prefixes=None)
 
    Issue a warning, or maybe ignore it or raise an exception.  The *category*
    argument, if given, must be a :ref:`warning category class <warning-categories>`; it