@@ -188,21 +188,18 @@ def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *,
188188 self .allow_redirection = allow_redirection # Security setting to prevent redirection of stdout
189189
190190 # Attributes which ARE dynamically settable via the set command at runtime
191- self .continuation_prompt = '> '
192191 self .debug = False
193192 self .echo = False
194193 self .editor = Cmd .DEFAULT_EDITOR
195194 self .feedback_to_output = False # Do not include nonessentials in >, | output by default (things like timing)
196- self .locals_in_py = False
195+ self .quiet = False # Do not suppress nonessential output
196+ self .timing = False # Prints elapsed time for each command
197197
198198 # The maximum number of CompletionItems to display during tab completion. If the number of completion
199199 # suggestions exceeds this number, they will be displayed in the typical columnized format and will
200200 # not include the description value of the CompletionItems.
201201 self .max_completion_items = 50
202202
203- self .quiet = False # Do not suppress nonessential output
204- self .timing = False # Prints elapsed time for each command
205-
206203 # To make an attribute settable with the "do_set" command, add it to this ...
207204 self .settable = \
208205 {
@@ -211,18 +208,21 @@ def __init__(self, completekey: str = 'tab', stdin=None, stdout=None, *,
211208 '(valid values: {}, {}, {})' .format (ansi .STYLE_TERMINAL ,
212209 ansi .STYLE_ALWAYS ,
213210 ansi .STYLE_NEVER )),
214- 'continuation_prompt' : 'On 2nd+ line of input' ,
215211 'debug' : 'Show full error stack on error' ,
216212 'echo' : 'Echo command issued into output' ,
217213 'editor' : 'Program used by ``edit``' ,
218214 'feedback_to_output' : 'Include nonessentials in `|`, `>` results' ,
219- 'locals_in_py' : 'Allow access to your application in py via self' ,
220215 'max_completion_items' : 'Maximum number of CompletionItems to display during tab completion' ,
221- 'prompt' : 'The prompt issued to solicit input' ,
222216 'quiet' : "Don't print nonessential feedback" ,
223217 'timing' : 'Report execution times'
224218 }
225219
220+ # Use as prompt for multiline commands on the 2nd+ line of input
221+ self .continuation_prompt = '> '
222+
223+ # Allow access to your application in embedded Python shells and scripts py via self
224+ self .locals_in_py = False
225+
226226 # Commands to exclude from the help menu and tab completion
227227 self .hidden_commands = ['eof' , '_relative_load' , '_relative_run_script' ]
228228
0 commit comments