help for functions
This commit is contained in:
parent
e16451556e
commit
c00d3a34eb
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue