summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-08-25 02:59:59 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-08-25 02:59:59 (GMT)
commit0b70cca9f8132b6fe03803abe9e89bd3a00a80ee (patch)
tree032e42eac6b0cf9538d10f468f820381806d1964 /Lib/idlelib/EditorWindow.py
parentdb60d6e2aa45fdc9f5f560847238a120e8a34f04 (diff)
downloadcpython-0b70cca9f8132b6fe03803abe9e89bd3a00a80ee.zip
cpython-0b70cca9f8132b6fe03803abe9e89bd3a00a80ee.tar.gz
cpython-0b70cca9f8132b6fe03803abe9e89bd3a00a80ee.tar.bz2
Remove usage of backticks.
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 dccd3ff..bc61afb 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -1138,7 +1138,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(