Kaydet (Commit) 338d4185 authored tarafından Brett Cannon's avatar Brett Cannon

Use a versionchanged directive.

üst e151ab42
...@@ -196,8 +196,11 @@ Available Functions ...@@ -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]])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment