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

Method _output

Lib/http/client.py:1090–1095  ·  view source on GitHub ↗

Add a line of output to the current request buffer. Assumes that the line does *not* end with \\r\\n.

(self, s)

Source from the content-addressed store, hash-verified

1088 "or an iterable, got %r" % type(data))
1089
1090 def _output(self, s):
1091 """Add a line of output to the current request buffer.
1092
1093 Assumes that the line does *not* end with \\r\\n.
1094 """
1095 self._buffer.append(s)
1096
1097 def _read_readable(self, readable):
1098 if self.debuglevel > 0:

Callers 2

putrequestMethod · 0.95
putheaderMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected