code: def peek(self, size=-1):
          
          self._check_can_read()
          if self._mode == _MODE_READ_EOF or not self._fill_buffer():
              return b""
          return self._buffer
docs: Return buffered data without advancing the file position.
  
          Always returns at least one byte of data, unless at EOF.
          The exact number of bytes returned is unspecified.