mirror of
https://github.com/python/cpython.git
synced 2025-12-05 00:52:25 +00:00
Use a versionchanged directive.
This commit is contained in:
parent
e151ab4282
commit
338d41850a
1 changed files with 5 additions and 2 deletions
|
|
@ -196,8 +196,11 @@ Available Functions
|
||||||
|
|
||||||
*module_globals*, if supplied, should be the global namespace in use by the code
|
*module_globals*, if supplied, should be the global namespace in use by the code
|
||||||
for which the warning is issued. (This argument is used to support displaying
|
for which the warning is issued. (This argument is used to support displaying
|
||||||
source for modules found in zipfiles or other non-filesystem import sources, and
|
source for modules found in zipfiles or other non-filesystem import
|
||||||
was added in Python 2.5.)
|
sources).
|
||||||
|
|
||||||
|
.. versionchanged:: 2.5
|
||||||
|
Added the `module_globals` parameter.
|
||||||
|
|
||||||
|
|
||||||
.. function:: warnpy3k(message[, category[, stacklevel]])
|
.. function:: warnpy3k(message[, category[, stacklevel]])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue