parameters: (self, name, value)
docstring: Handle 'exclude()' for list/tuple attrs without a special handler
docstring_summary: Handle 'exclude()' for list/tuple attrs without a special handler
docstring_tokens: Handle exclude () for list / tuple attrs without a special handler
function: def _exclude_misc(self, name, value):
          """Handle 'exclude()' for list/tuple attrs without a special handler"""
          if not isinstance(value, sequence):
              raise DistutilsSetupError(
                  "%s: setting must be a list or tuple (%r)" % (name, value)
              )
          try:
              old = getattr(self, name)
          except AttributeError:
              raise DistutilsSetupError(
                  "%s: No such distribution setting" % name
              )
          if old is not None and not isinstance(old, sequence):
              raise DistutilsSetupError(
                  name + ": this setting cannot be changed via include/exclude"
              )
          elif old:
              setattr(self, name, [item for item in old if item not in value])
function_tokens: def _exclude_misc ( self , name , value ) : if not isinstance ( value , sequence ) : raise DistutilsSetupError ( "%s: setting must be a list or tuple (%r)" % ( name , value ) ) try : old = getattr ( self , name ) except AttributeError : raise DistutilsSetupError ( "%s: No such distribution setting" % name ) if old is not None and not isinstance ( old , sequence ) : raise DistutilsSetupError ( name + ": this setting cannot be changed via include/exclude" ) elif old : setattr ( self , name , [ item for item in old if item not in value ] )