From: Brett Cannon Date: Sun, 9 Dec 2007 05:09:37 +0000 (+0000) Subject: Use a versionchanged directive. X-Git-Tag: v2.6a1~896 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=338d41850aa6421a90b70f6863ec644b75318d33;p=python Use a versionchanged directive. --- diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index d031b15d97..076d357f69 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]])