From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 1 Feb 2024 01:54:25 +0000 (+0100) Subject: [3.12] gh-114811: Change '\*' to '*' in warnings.rst (GH-114819) (#114837) X-Git-Tag: v3.12.2~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3017c27d359a65b60f2ad2523a383a8ecad22460;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-114811: Change '\*' to '*' in warnings.rst (GH-114819) (#114837) Regression in 3.12. (cherry picked from commit ff8939e5abaad7cd87f4d1f07ca7f6d176090f6c) Co-authored-by: Pradyot Ranjan <99216956+prady0t@users.noreply.github.com> --- diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 884de08eab1b..db3534dd632f 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -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 `; it