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

Method _output

Lib/http/client.py:1086–1091  ·  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

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

Callers 2

putrequestMethod · 0.95
putheaderMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected