]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40736: Improve the error message for re.search() TypeError (GH-23312)
authorZackery Spytz <zspytz@gmail.com>
Fri, 21 May 2021 21:02:42 +0000 (14:02 -0700)
committerGitHub <noreply@github.com>
Fri, 21 May 2021 21:02:42 +0000 (22:02 +0100)
commit6cc8ac949907b9a1c0f73709c6978b7a43e634e3
tree1b7090be88bf4924021aa184bfab53d2297d3d06
parent498383c019c1209f6fecf8f64ce44fbf437191da
bpo-40736: Improve the error message for re.search() TypeError (GH-23312)

Include the invalid type in the error message.
Lib/test/test_re.py
Modules/_sre.c