Add a DeprecationWarning for when warnings.showwarning() is set to a function
commit354c1165c9c0b31cb95d8cb0f48ac8bb854521d1
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 5 May 2008 05:32:07 +0000 (5 05:32 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Mon, 5 May 2008 05:32:07 +0000 (5 05:32 +0000)
tree3ce81d68fc66fce847a000ea18f1d422e8a25fd5
parentdb856ad1c31e7f2c17546757ee67e5ce3ed8d2ed
Add a DeprecationWarning for when warnings.showwarning() is set to a function
that lacks support for the new 'line' argument.

git-svn-id: http://svn.python.org/projects/python/trunk@62720 6015fed2-1504-0410-9fe1-9d1591cc4771
Doc/library/warnings.rst
Lib/test/test_warnings.py
Lib/warnings.py
Misc/NEWS
Python/_warnings.c