summaryrefslogtreecommitdiffstats
path: root/Python/Python-tokenize.c
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-08-18 11:19:30 (GMT)
committerGitHub <noreply@github.com>2021-08-18 11:19:30 (GMT)
commit8cf07d3db3eed02b43350a5f9dbf68f1c839ea82 (patch)
treec5c4721f01da3171db197c69e25030720e6541cd /Python/Python-tokenize.c
parent3240bc62f4e0afa09964f3afc845697f0a0806b9 (diff)
downloadcpython-8cf07d3db3eed02b43350a5f9dbf68f1c839ea82.zip
cpython-8cf07d3db3eed02b43350a5f9dbf68f1c839ea82.tar.gz
cpython-8cf07d3db3eed02b43350a5f9dbf68f1c839ea82.tar.bz2
bpo-44852: Support filtering over warnings without a set message (GH-27793)
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.
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions