summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-02-01 01:54:25 (GMT)
committerGitHub <noreply@github.com>2024-02-01 01:54:25 (GMT)
commit3017c27d359a65b60f2ad2523a383a8ecad22460 (patch)
tree761209f2f055f56b4aa898d30a9443fc4b7cb455
parent0ee6fbaab6888dc0252c497b13a7ba73f5172931 (diff)
downloadcpython-3017c27d359a65b60f2ad2523a383a8ecad22460.zip
cpython-3017c27d359a65b60f2ad2523a383a8ecad22460.tar.gz
cpython-3017c27d359a65b60f2ad2523a383a8ecad22460.tar.bz2
[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>
-rw-r--r--Doc/library/warnings.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index 884de08..db3534d 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 <warning-categories>`; it