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

Method read1

Lib/_pyio.py:692–696  ·  view source on GitHub ↗

Read up to size bytes with at most one read() system call, where size is an int.

(self, size=-1)

Source from the content-addressed store, hash-verified

690 self._unsupported("read")
691
692 def read1(self, size=-1):
693 """Read up to size bytes with at most one read() system call,
694 where size is an int.
695 """
696 self._unsupported("read1")
697
698 def readinto(self, b):
699 """Read bytes into a pre-allocated bytes-like object b.

Callers 1

_readintoMethod · 0.95

Calls 1

_unsupportedMethod · 0.80

Tested by

no test coverage detected