Show More
@@ -189,7 +189,16 b' class InteractiveShell(Configurable, Magic):' | |||||
189 | """An enhanced, interactive shell for Python.""" |
|
189 | """An enhanced, interactive shell for Python.""" | |
190 |
|
190 | |||
191 | _instance = None |
|
191 | _instance = None | |
192 |
autocall = Enum((0,1,2), default_value=1, config=True |
|
192 | autocall = Enum((0,1,2), default_value=1, config=True, | |
|
193 | help= | |||
|
194 | """Make IPython automatically call any callable object even if you | |||
|
195 | didn't type explicit parentheses. For example, 'str 43' becomes | |||
|
196 | 'str(43)' automatically. The value can be '0' to disable the feature, | |||
|
197 | '1' for 'smart' autocall, where it is not applied if there are no more | |||
|
198 | arguments on the line, and '2' for 'full' autocall, where all callable | |||
|
199 | objects are automatically called (even if no arguments are present). | |||
|
200 | The default is '1'.""" | |||
|
201 | ) | |||
193 | # TODO: remove all autoindent logic and put into frontends. |
|
202 | # TODO: remove all autoindent logic and put into frontends. | |
194 | # We can't do this yet because even runlines uses the autoindent. |
|
203 | # We can't do this yet because even runlines uses the autoindent. | |
195 | autoindent = CBool(True, config=True) |
|
204 | autoindent = CBool(True, config=True) |
General Comments 0
You need to be logged in to leave comments.
Login now