MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / getopt

Method getopt

Lib/distutils/fancy_getopt.py:234–293  ·  view source on GitHub ↗

Parse command-line options in args. Store as attributes on object. If 'args' is None or not supplied, uses 'sys.argv[1:]'. If 'object' is None or not supplied, creates a new OptionDummy object, stores option values there, and returns a tuple (args, object). If 'obj

(self, args=None, object=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

fancy_getoptFunction · 0.95
parse_command_lineMethod · 0.95
dailybuild.pyFile · 0.80
mainFunction · 0.80
imaplib.pyFile · 0.80
mainFunction · 0.80
testFunction · 0.80
mainFunction · 0.80
cliFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
parseargsFunction · 0.80

Calls 6

_grok_option_tableMethod · 0.95
OptionDummyClass · 0.85
getattrFunction · 0.85
joinMethod · 0.45
getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected