mirror of
https://github.com/python/cpython.git
synced 2026-07-03 08:15:46 -04:00
8cf07d3db3
Additional improvements: - messages which were compiled regular expressions aren't unpacked back into strings for unmatched warnings; - removed unnecessary "if tokens:" check (there's one before the for loop); - took `endswith` calculation out of the for loop.