[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 d467d9246c)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
This commit is contained in:
Miss Islington (bot) 2024-10-31 02:31:35 +01:00 committed by GitHub
parent 6bfe5fbc19
commit 975911887d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -396,7 +396,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