]> granicus.if.org Git - python/commitdiff
Use a versionchanged directive.
authorBrett Cannon <bcannon@gmail.com>
Sun, 9 Dec 2007 05:09:37 +0000 (05:09 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 9 Dec 2007 05:09:37 +0000 (05:09 +0000)
Doc/library/warnings.rst

index d031b15d973a35ec4360fa118b379f096b3f3ae5..076d357f69eafa8946c4db4a9e859c29f8be1681 100644 (file)
@@ -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]])