def readline(self):
        """Return a line content (with a trailing newline) if there are content. Return '' otherwise."""

        try:
            r = next(self.iterator) + os.linesep
            return r
        except StopIteration:
            return ""
def readline ( self ) : try : r = next ( self . iterator ) + os . linesep return r except StopIteration : return ""
Return a line content (with a trailing newline) if there are content. Return '' otherwise.