MCPcopy Index your code
hub / github.com/RustPython/RustPython / usage

Function usage

Lib/test/support/smtpd.py:104–108  ·  view source on GitHub ↗
(code, msg='')

Source from the content-addressed store, hash-verified

102
103
104def usage(code, msg=''):
105 print(__doc__ % globals(), file=sys.stderr)
106 if msg:
107 print(msg, file=sys.stderr)
108 sys.exit(code)
109
110
111class SMTPChannel(asynchat.async_chat):

Callers 1

parseargsFunction · 0.85

Calls 3

globalsFunction · 0.85
printFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected