(self)
return self.loc() <= 0
EOF: no chars waiting.
EOF: no chars waiting.
EOF : no chars waiting .
def eof(self):
        """EOF: no chars waiting."""
        # for EOF(i)
        return self.loc() <= 0
def eof ( self ) : # for EOF(i) return self . loc ( ) <= 0