Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(169085)

Unified Diff: Lib/idlelib/HyperParser.py

Issue 16819: IDLE b"" method completion incorrect
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/idlelib/HyperParser.py Sat Dec 29 23:41:08 2012 +0200
+++ b/Lib/idlelib/HyperParser.py Sun Dec 30 18:08:46 2012 +0200
@@ -232,6 +232,11 @@
pass
else:
# We can't continue after other types of brackets
+ if rawtext[pos] in "'\"":
+ # Scan a string prefix
+ while pos > 0 and rawtext[pos - 1] in "rRbBuU":
+ pos -= 1
+ last_identifier_pos = pos
break
else:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+