MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/idlelib/query.py:345–355  ·  view source on GitHub ↗

cli_args is a list of strings. The list is assigned to the default Entry StringVar. The strings are displayed joined by ' ' for display.

(self, parent, title, *, cli_args=[],
                 _htest=False, _utest=False)

Source from the content-addressed store, hash-verified

343 # Used in runscript.run_custom_event
344
345 def __init__(self, parent, title, *, cli_args=[],
346 _htest=False, _utest=False):
347 """cli_args is a list of strings.
348
349 The list is assigned to the default Entry StringVar.
350 The strings are displayed joined by ' ' for display.
351 """
352 message = 'Command Line Arguments for sys.argv:'
353 super().__init__(
354 parent, title, message, text0=cli_args,
355 _htest=_htest, _utest=_utest)
356
357 def create_extra(self):
358 "Add run mode on rows 10-12."

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected