8000 [3.12] gh-125818: Fix incorrect signature of argument `skip_file_pref… · python/cpython@9759118 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 9759118

Browse files
[3.12] gh-125818: Fix incorrect signature of argument skip_file_prefixes in warnings docs (GH-125823) (GH-126217)
gh-125818: Fix incorrect signature of argument `skip_file_prefixes` in warnings docs (GH-125823) Change documentation (cherry picked from commit d467d92) Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
1 parent 6bfe5fb commit 9759118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/warnings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Available Functions
396396
-------------------
397397

398398

399-
.. function:: warn(message, category=None, stacklevel=1, source=None, *, skip_file_prefixes=None)
399+
.. function:: warn(message, category=None, stacklevel=1, source=None, *, skip_file_prefixes=())
400400

401401
Issue a warning, or maybe ignore it or raise an exception. The *category*
402402
argument, if given, must be a :ref:`warning category class <warning-categories>`; it

0 commit comments

Comments
 (0)
0