Fix docstrings
This commit is contained in:
parent
995a0d19cc
commit
1488e54567
@ -364,9 +364,9 @@ class CurCommandDispatcher(QObject):
|
||||
|
||||
def on_editor_closed(self, elem, oshandle, filename, exitcode,
|
||||
exitstatus):
|
||||
"""Gets called by QProcess when the editor was closed.
|
||||
"""Write the editor text into the form field and clean up tempfile.
|
||||
|
||||
Writes the editor text into the form field.
|
||||
Callback for QProcess when the editor was closed.
|
||||
"""
|
||||
logging.debug("Editor closed")
|
||||
if exitcode != 0 or exitstatus != QProcess.NormalExit:
|
||||
|
@ -75,7 +75,7 @@ def is_visible(e, frame=None):
|
||||
|
||||
|
||||
def javascript_escape(text):
|
||||
"""Escapes special values in strings.
|
||||
"""Escape values special to javascript in strings.
|
||||
|
||||
This maybe makes them work with QWebElement::evaluateJavaScript.
|
||||
Maybe.
|
||||
|
Loading…
Reference in New Issue
Block a user