summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-04-02 08:30:21 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-04-02 08:30:21 (GMT)
commitdfd3618422bc19ae48047e74c6320746ee6b610e (patch)
tree9312574057913b4b3291824e08f6244010972a9f /Lib/idlelib/EditorWindow.py
parenta7f242fa2a005082b2067a558471178a2ed3fc93 (diff)
downloadcpython-dfd3618422bc19ae48047e74c6320746ee6b610e.zip
cpython-dfd3618422bc19ae48047e74c6320746ee6b610e.tar.gz
cpython-dfd3618422bc19ae48047e74c6320746ee6b610e.tar.bz2
#7092: silence some py3k warnings
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 9ac70ac..bdd230b 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -1194,7 +1194,7 @@ class EditorWindow(object):
if not self.context_use_ps1:
for context in self.num_context_lines:
startat = max(lno - context, 1)
- startatindex = `startat` + ".0"
+ startatindex = repr(startat) + ".0"
rawtext = text.get(startatindex, "insert")
y.set_str(rawtext)
bod = y.find_good_parse_start(