code: def new(self):
          # type: () -> None
          '''
          A method to create a new UDF Partition Map.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Partition Map already initialized')
  
          self.part_num = 0  # FIXME: we should let the user set this
  
          self._initialized = Truf new(self):
          # type: () -> None
          '''
          A method to create a new UDF Partition Map.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF Partition Map already initialized')
  
          self.part_num = 0  # FIXME: we should let the user set this
  
          self._initialized = True
docs: A method to create a new UDF Partition Map.
  
          Parameters:
           None.
          Returns:
           Nothing.