commit | 72f94f75d684085db30949c3fdb015e38c79b92f | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Jul 12 16:56:54 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Jul 12 16:56:54 2009 +0000 |
tree | 1a0e591880587f9377c26286421da6d1f79970ca | |
parent | 6633a6606b935fa1160293029f59eb892e7aed4f [diff] |
add versionadded
diff --git a/Doc/library/warnings.rst b/Doc/library/warnings.rst index 091327f..d36955f 100644 --- a/Doc/library/warnings.rst +++ b/Doc/library/warnings.rst
@@ -279,6 +279,8 @@ be a string and *category* a subclass of :exc:`Warning`. :func:`warnpy3k` is using :exc:`DeprecationWarning` as default warning class. + .. versionadded:: 2.6 + .. function:: showwarning(message, category, filename, lineno[, file[, line]])