(self, x)
Removes given arg (or list thereof) from Args object.
Removes given arg (or list thereof) from Args object.
Removes given arg ( or list thereof ) from Args object .
def remove(self, x):
        """Removes given arg (or list thereof) from Args object."""

        def _remove(x):
            found = self.first(x)
            if found is not None:
                self._args.pop(found)

        if is_collection(x):
            for item in x:
                _remove(x)
        else:
            _remove(x)
def remove ( self , x ) : def _remove ( x ) : found = self . first ( x ) if found is not None : self . _args . pop ( found ) if is_collection ( x ) : for item in x : _remove ( x ) else : _remove ( x )