]> granicus.if.org Git - python/commit
bpo-33204: IDLE: consistently color invalid string prefixes (GH-6344)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Apr 2018 06:33:25 +0000 (23:33 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Apr 2018 06:33:25 +0000 (23:33 -0700)
commit16cf84b4fbe78f9d876e0335f33459f1b92b7bf0
tree19c1b5fd99873ae3b7e5712e3b9a3cbd406e25b1
parentd918bbda4bb201c35d1ded3dde686d8b00a91851
bpo-33204: IDLE: consistently color invalid string prefixes (GH-6344)

A 'u' string prefix cannot be paired with either 'r' or 'f'.  Consistently
color as much of the prefix, starting at the right, as is valid.
(cherry picked from commit da58533ac67b01ce8f6466e6f03ff6b8b3bb04d5)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/colorizer.py
Misc/NEWS.d/next/IDLE/2018-04-02-00-28-13.bpo-33204.NBsuIv.rst [new file with mode: 0644]