MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / tell

Method tell

tools/python-3.11.9-amd64/Lib/chunk.py:121–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 self.size_read = pos
120
121 def tell(self):
122 if self.closed:
123 raise ValueError("I/O operation on closed file")
124 return self.size_read
125
126 def read(self, size=-1):
127 """Read at most size bytes from the chunk.

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected