MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/idlelib/query.py:343–353  ·  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

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

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected