MCPcopy Index your code
hub / github.com/python-openxml/python-docx / read

Method read

src/docx/image/helpers.py:22–24  ·  view source on GitHub ↗

Allow pass-through read() call.

(self, count)

Source from the content-addressed store, hash-verified

20 self._base_offset = base_offset
21
22 def read(self, count):
23 """Allow pass-through read() call."""
24 return self._stream.read(count)
25
26 def read_byte(self, base, offset=0):
27 """Return the int value of the byte at the file position defined by

Callers 15

_default_comments_xmlMethod · 0.80
_default_styles_xmlMethod · 0.80
_default_footer_xmlMethod · 0.80
_default_header_xmlMethod · 0.80
_default_settings_xmlMethod · 0.80
from_fileMethod · 0.80
read_32Function · 0.80
_read_bytesMethod · 0.80
_read_byteMethod · 0.80

Calls

no outgoing calls

Tested by 4

from_filelike_fixtureMethod · 0.64
from_path_fixtureMethod · 0.64
call_fixtureMethod · 0.64
it_can_write_a_blobMethod · 0.64