(self, size=0)
Returns buffered bytes without advancing the position.

        The argument indicates a desired minimal number of bytes; we
        do at most one raw read to satisfy it.  We never return more
        than self.buffer_size.
Returns buffered bytes without advancing the position.
Returns buffered bytes without advancing the position .
def peek(self, size=0):
        """Returns buffered bytes without advancing the position.

        The argument indicates a desired minimal number of bytes; we
        do at most one raw read to satisfy it.  We never return more
        than self.buffer_size.
        """
        with self._read_lock:
            return self._peek_unlocked(size)
def peek ( self , size = 0 ) : with self . _read_lock : return self . _peek_unlocked ( size )