parent
e2e6e28c07
commit
af1ccc71af
|
@ -0,0 +1,3 @@
|
|||
class ReadOnlyError:
|
||||
'This error is raised when attempting to edit a read-only buffer'
|
||||
pass
|
|
@ -273,7 +273,7 @@ class PythonInsertTripleSquotes(method.Method):
|
|||
'''Insert a triple-quoted string using single-quotes'''
|
||||
_q = "'''"
|
||||
def _execute(self, w, **vargs):
|
||||
w.insert_string_at_cursor('%s%s' % (_q, _q))
|
||||
w.insert_string_at_cursor('%s%s' % (self._q, self._q))
|
||||
for i in range(0, 3):
|
||||
w.backward()
|
||||
class PythonInsertTripleDquotes(PythonInsertTripleSquotes):
|
||||
|
|
Loading…
Reference in New Issue