Fix docstrings

This commit is contained in:
Florian Bruhin 2014-04-30 10:46:20 +02:00
parent 995a0d19cc
commit 1488e54567
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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.