def _blockread(self, fname):
with open(fname, '<STR_LIT:rb>') as f:<EOL><INDENT>while True:<EOL><INDENT>a = []<EOL>for i in range(self.bsize):<EOL><INDENT>line = f.readline()<EOL>if not line: break<EOL>a.append(line.split())<EOL><DEDENT>if a == []: raise StopIteration<EOL>yield a<EOL><DEDENT><DEDENT>
Generator yields bsize lines from gdf file.
Hidden method.


Parameters
----------
fname : str
    Name of gdf-file.


Yields
------
list
    file contents