Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
104
def
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
111
class
SMTPChannel(asynchat.async_chat):
Callers
1
parseargs
Function · 0.85
Calls
3
globals
Function · 0.85
print
Function · 0.50
exit
Method · 0.45
Tested by
no test coverage detected