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

Method readline

Lib/mailbox.py:2024–2026  ·  view source on GitHub ↗

Read a line.

(self, size=None)

Source from the content-addressed store, hash-verified

2022 return self._read(size, self._file.read1)
2023
2024 def readline(self, size=None):
2025 """Read a line."""
2026 return self._read(size, self._file.readline)
2027
2028 def readlines(self, sizehint=None):
2029 """Read multiple lines."""

Callers 11

__iter__Method · 0.95
_dump_messageMethod · 0.45
get_messageMethod · 0.45
get_bytesMethod · 0.45
get_fileMethod · 0.45
_generate_tocMethod · 0.45
_generate_tocMethod · 0.45
get_messageMethod · 0.45
get_bytesMethod · 0.45
_generate_tocMethod · 0.45
_install_messageMethod · 0.45

Calls 1

_readMethod · 0.95

Tested by

no test coverage detected