diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-12-09 05:09:37 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-12-09 05:09:37 (GMT) |
commit | 338d41850aa6421a90b70f6863ec644b75318d33 (patch) | |
tree | 225da666c71cd3fc68198188d899f0f5ddd919b1 /Doc/library | |
parent | e151ab4282838b0ebcb0bc43420e267d0cfc5fe5 (diff) | |
download | cpython-338d41850aa6421a90b70f6863ec644b75318d33.zip cpython-338d41850aa6421a90b70f6863ec644b75318d33.tar.gz cpython-338d41850aa6421a90b70f6863ec644b75318d33.tar.bz2 |
Use a versionchanged directive.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/warnings.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index d031b15..076d357 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst @@ -196,8 +196,11 @@ Available Functions *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 - source for modules found in zipfiles or other non-filesystem import sources, and - was added in Python 2.5.) + source for modules found in zipfiles or other non-filesystem import + sources). + + .. versionchanged:: 2.5 + Added the `module_globals` parameter. .. function:: warnpy3k(message[, category[, stacklevel]]) |