mirror of
https://github.com/python/cpython.git
synced 2025-08-25 11:15:02 +00:00
Remove usage of backticks.
This commit is contained in:
parent
db60d6e2aa
commit
0b70cca9f8
13 changed files with 14 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue