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

Method push

Lib/test/test_poplib.py:86–87  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

84 raise
85
86 def push(self, data):
87 asynchat.async_chat.push(self, data.encode("ISO-8859-1") + b'\r\n')
88
89 def cmd_echo(self, arg):
90 # sends back the received string (used by the test suite)

Callers 15

__init__Method · 0.95
found_terminatorMethod · 0.95
cmd_echoMethod · 0.95
cmd_userMethod · 0.95
cmd_passMethod · 0.95
cmd_statMethod · 0.95
cmd_listMethod · 0.95
cmd_retrMethod · 0.95
cmd_deleMethod · 0.95
cmd_noopMethod · 0.95
cmd_rpopMethod · 0.95
cmd_apopMethod · 0.95

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected