summaryrefslogtreecommitdiff
path: root/Lib/idlelib/HyperParser.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-04-02 08:30:21 +0000
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-04-02 08:30:21 +0000
commitdfd3618422bc19ae48047e74c6320746ee6b610e (patch)
tree9312574057913b4b3291824e08f6244010972a9f /Lib/idlelib/HyperParser.py
parenta7f242fa2a005082b2067a558471178a2ed3fc93 (diff)
downloadcpython-git-dfd3618422bc19ae48047e74c6320746ee6b610e.tar.gz
#7092: silence some py3k warnings
Diffstat (limited to 'Lib/idlelib/HyperParser.py')
-rw-r--r--Lib/idlelib/HyperParser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/HyperParser.py b/Lib/idlelib/HyperParser.py
index 94f149673c..38a19f2189 100644
--- a/Lib/idlelib/HyperParser.py
+++ b/Lib/idlelib/HyperParser.py
@@ -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