(self)
return (self._keyboard.peek_byte_kybd_file() == b'\x1A')
KYBD only EOF if ^Z is read.
KYBD only EOF if ^Z is read.
KYBD only EOF if ^Z is read .
def eof(self):
        """KYBD only EOF if ^Z is read."""
        if self.mode in (b'A', b'O'):
            return False
        # blocking peek
        return (self._keyboard.peek_byte_kybd_file() == b'\x1A')
def eof ( self ) : if self . mode in ( b'A' , b'O' ) : return False # blocking peek return ( self . _keyboard . peek_byte_kybd_file ( ) == b'\x1A' )