help for functions
This commit is contained in:
@@ -191,6 +191,11 @@ class Console(QtGui.QPlainTextEdit):
|
|||||||
QtCore.QCoreApplication.processEvents()
|
QtCore.QCoreApplication.processEvents()
|
||||||
self.skip = not self.skip
|
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)
|
sys.stdout = stdoutProxy(self.appendPlainText)
|
||||||
try:
|
try:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user