diff options
author | Xtreak <tir.karthi@gmail.com> | 2019-03-01 17:17:55 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-03-01 17:17:55 (GMT) |
commit | be7c460fb50efe3b88a00281025d76acc62ad2fd (patch) | |
tree | 3646fb5a8f89312c018a5bcc3629558f476964bc /Misc | |
parent | 91b9ecf82c3287b45f39158c5134a87414ff26bc (diff) | |
download | cpython-be7c460fb50efe3b88a00281025d76acc62ad2fd.zip cpython-be7c460fb50efe3b88a00281025d76acc62ad2fd.tar.gz cpython-be7c460fb50efe3b88a00281025d76acc62ad2fd.tar.bz2 |
bpo-35178: Fix warnings._formatwarnmsg() (GH-12033)
Ensure custom formatwarning function can receive line as positional argument.
Co-Authored-By: Tashrif Billah <tashrifbillah@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-02-25-23-04-00.bpo-35178.NA_rXa.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-02-25-23-04-00.bpo-35178.NA_rXa.rst b/Misc/NEWS.d/next/Library/2019-02-25-23-04-00.bpo-35178.NA_rXa.rst new file mode 100644 index 0000000..2593199 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-02-25-23-04-00.bpo-35178.NA_rXa.rst @@ -0,0 +1,2 @@ +Ensure custom :func:`warnings.formatwarning` function can receive `line` as +positional argument. Based on patch by Tashrif Billah. |