https://github.com/python/cpython/commit/57668a4be586fad22b5d6337a1e5e1e7246caa92
commit: 57668a4be586fad22b5d6337a1e5e1e7246caa92
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: willingc <[email protected]>
date: 2024-10-30T18:32:04-07:00
summary:

[3.13] gh-125818: Fix incorrect signature of argument `skip_file_prefixes` in 
warnings docs (GH-125823) (#126216)

gh-125818: Fix incorrect signature of argument `skip_file_prefixes` in warnings 
docs (GH-125823)

Change documentation
(cherry picked from commit d467d9246cbe0ce5dc149c4c74223bb8374ece73)

Co-authored-by: RUANG (James Roy) <[email protected]>

files:
M Doc/library/warnings.rst

diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index 83163cc688297c..e4942fa0c184bc 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=())
 
    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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to