sources).
.. versionchanged:: 2.5
- Added the `module_globals` parameter.
+ Added the *module_globals* parameter.
.. function:: warnpy3k(message[, category[, stacklevel]])
this function with an alternative implementation by assigning to
``warnings.showwarning``.
- ..versionchanged:: 2.6
- Added the `line` argument.
-
-
+ .. versionchanged:: 2.6
+ Added the *line* argument.
.. function:: formatwarning(message, category, filename, lineno[, line])
Format a warning the standard way. This returns a string which may contain
embedded newlines and ends in a newline.
- ..versionchanged:: 2.6
- Added the `line` argument.
+ .. versionchanged:: 2.6
+ Added the *line* argument.
.. function:: filterwarnings(action[, message[, category[, module[, lineno[, append]]]]])