mirror of
https://github.com/python/cpython.git
synced 2025-09-18 06:30:38 +00:00
#7092: silence some py3k warnings
This commit is contained in:
parent
a7f242fa2a
commit
dfd3618422
4 changed files with 6 additions and 6 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue