Skip to content

Commit

Permalink
gh-125818: Fix incorrect signature of argument skip_file_prefixes i…
Browse files Browse the repository at this point in the history
…n warnings docs (GH-125823)

Change documentation
  • Loading branch information
rruuaanng authored Oct 31, 2024
1 parent b3122aa commit d467d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/warnings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d467d92

Please sign in to comment.