commit c00d3a34eb0e17ac21965f83abdd58032e808890 parent e16451556ebfb6cdb9e0e646f78b7c893e2c5e56 Author: ecdsa <ecdsa@github> Date: Mon, 4 Mar 2013 17:47:51 +0100 help for functions Diffstat:
M | gui/qt_console.py | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/gui/qt_console.py b/gui/qt_console.py @@ -191,6 +191,11 @@ class Console(QtGui.QPlainTextEdit): QtCore.QCoreApplication.processEvents() self.skip = not self.skip + if type(self.namespace.get(command)) == type(lambda:None): + self.appendPlainText("'%s' is a function. Type '%s()' to call it."%(command, command)) + self.newPrompt() + return + sys.stdout = stdoutProxy(self.appendPlainText) try: try: