https://github.com/python/cpython/commit/d467d9246cbe0ce5dc149c4c74223bb8374ece73
commit: d467d9246cbe0ce5dc149c4c74223bb8374ece73
branch: main
author: RUANG (James Roy) <[email protected]>
committer: willingc <[email protected]>
date: 2024-10-30T18:15:07-07:00
summary:

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

Change documentation

files:
M Doc/library/warnings.rst

diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst
index 5ea65cbd8ca94c..1e7c4c8b915e7e 100644
--- a/Doc/library/warnings.rst
+++ b/Doc/library/warnings.rst
@@ -398,7 +398,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