(self, n=1)
return d
Peek next char in stream.
Peek next char in stream.
Peek next char in stream .
def peek(self, n=1):
        """Peek next char in stream."""
        d = self.read(n)
        self.seek(-len(d), 1)
        return d
def peek ( self , n = 1 ) : d = self . read ( n ) self . seek ( - len ( d ) , 1 ) return d