(self)
return lead + trail
Read full token, including trailing bytes.
Read full token, including trailing bytes.
Read full token including trailing bytes .
def read_number_token(self):
        """Read full token, including trailing bytes."""
        lead = self.read(1)
        if lead not in tk.NUMBER:
            self.seek(-len(lead), 1)
            return b''
        trail = self.read(tk.PLUS_BYTES.get(lead, 0))
        return lead + trail
def read_number_token ( self ) : lead = self . read ( 1 ) if lead not in tk . NUMBER : self . seek ( - len ( lead ) , 1 ) return b'' trail = self . read ( tk . PLUS_BYTES . get ( lead , 0 ) ) return lead + trail