Remove unnecessary parens
This commit is contained in:
parent
bc0c877b87
commit
24231ae405
@ -181,7 +181,7 @@ class ExternalEditor(QObject):
|
|||||||
"""
|
"""
|
||||||
line = text[:caret_position].count('\n') + 1
|
line = text[:caret_position].count('\n') + 1
|
||||||
column = caret_position - text[:caret_position].rfind('\n')
|
column = caret_position - text[:caret_position].rfind('\n')
|
||||||
return (line, column)
|
return line, column
|
||||||
|
|
||||||
def _sub_placeholder(self, arg, line, column):
|
def _sub_placeholder(self, arg, line, column):
|
||||||
"""Substitute a single placeholder.
|
"""Substitute a single placeholder.
|
||||||
|
Loading…
Reference in New Issue
Block a user