Changeset 391 for python/trunk/Lib/idlelib/HyperParser.py
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Lib/idlelib/HyperParser.py
r2 r391 11 11 import string 12 12 import keyword 13 import PyParse13 from idlelib import PyParse 14 14 15 15 class HyperParser: … … 32 32 for context in editwin.num_context_lines: 33 33 startat = max(lno - context, 1) 34 startatindex = `startat`+ ".0"34 startatindex = repr(startat) + ".0" 35 35 stopatindex = "%d.end" % lno 36 36 # We add the newline because PyParse requires a newline at end. … … 233 233 else: 234 234 # We can't continue after other types of brackets 235 if rawtext[pos] in "'\"": 236 # Scan a string prefix 237 while pos > 0 and rawtext[pos - 1] in "rRbBuU": 238 pos -= 1 239 last_identifier_pos = pos 235 240 break 236 241
Note:
See TracChangeset
for help on using the changeset viewer.