code: def close(self):
          # type: () -> None
          '''
          Close the PyCdlib object, and re-initialize the object to the defaults.
          The object can then be re-used for manipulation of another ISO.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInvalidInput('This object is not yet initialized; call either open() or new() to create an ISO')
  
          if self._managing_fp:
              # In this case, we are managing self._cdfp, so we need to close it
              self._cdfp.close()
  
          self._initialize(f close(self):
          # type: () -> None
          '''
          Close the PyCdlib object, and re-initialize the object to the defaults.
          The object can then be re-used for manipulation of another ISO.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if not self._initialized:
              raise pycdlibexception.PyCdlibInvalidInput('This object is not yet initialized; call either open() or new() to create an ISO')
  
          if self._managing_fp:
              # In this case, we are managing self._cdfp, so we need to close it
              self._cdfp.close()
  
          self._initialize()
docs: Close the PyCdlib object, and re-initialize the object to the defaults.
          The object can then be re-used for manipulation of another ISO.
  
          Parameters:
           None.
          Returns:
           Nothing.