mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-125818: Fix incorrect signature of argument skip_file_prefixes
in warnings docs (GH-125823)
Change documentation
This commit is contained in:
parent
b3122aa613
commit
d467d9246c
1 changed files with 1 additions and 1 deletions
|
@ -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*
|
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
|
argument, if given, must be a :ref:`warning category class <warning-categories>`; it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue