#7092: silence some py3k warnings

This commit is contained in:
Florent Xicluna 2010-04-02 08:30:21 +00:00
parent a7f242fa2a
commit dfd3618422
4 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ class HyperParser:
if not editwin.context_use_ps1:
for context in editwin.num_context_lines:
startat = max(lno - context, 1)
startatindex = `startat` + ".0"
startatindex = repr(startat) + ".0"
stopatindex = "%d.end" % lno
# We add the newline because PyParse requires a newline at end.
# We add a space so that index won't be at end of line, so that