parameters: (self,**kw)
return_statement: return self.__class__(**kw)
docstring: Copy this distribution, substituting in any changed keyword args
docstring_summary: Copy this distribution, substituting in any changed keyword args
docstring_tokens: Copy this distribution substituting in any changed keyword args
function: def clone(self,**kw):
          """Copy this distribution, substituting in any changed keyword args"""
          for attr in (
              'project_name', 'version', 'py_version', 'platform', 'location',
              'precedence'
          ):
              kw.setdefault(attr, getattr(self,attr,None))
          kw.setdefault('metadata', self._provider)
          return self.__class__(**kw)
function_tokens: def clone ( self , * * kw ) : for attr in ( 'project_name' , 'version' , 'py_version' , 'platform' , 'location' , 'precedence' ) : kw . setdefault ( attr , getattr ( self , attr , None ) ) kw . setdefault ( 'metadata' , self . _provider ) return self . __class__ ( * * kw )