MCPcopy Create free account
hub / github.com/PyTables/PyTables / read

Method read

bench/postgres_backend.py:50–56  ·  view source on GitHub ↗
(self, n=None)

Source from the content-addressed store, hash-verified

48 yield sout
49
50 def read(self, n=None):
51 self.nbytes = n
52 try:
53 str_ = next(self.read_it)
54 except StopIteration:
55 str_ = ""
56 return str_
57
58 # required by postgres2 driver, but not used
59 def readline(self):

Callers 6

read_fieldFunction · 0.45
copy4Function · 0.45
copy5Function · 0.45
search_fileFunction · 0.45
search_fileFunction · 0.45
read_file_arrFunction · 0.45

Calls

no outgoing calls

Tested by 1

read_file_arrFunction · 0.36