Skip to content

Commit d467d92

Browse files
authored
gh-125818: Fix incorrect signature of argument skip_file_prefixes in warnings docs (GH-125823)
Change documentation
1 parent b3122aa commit d467d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/warnings.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ Available Functions
398398
-------------------
399399

400400

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

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

0 commit comments

Comments
 (0)