pympi/Elan.py
def remove_license(self, name=None, url=None):
        """Remove all licenses matching both key and value.

        :param str name: Name of the license.
        :param str url: URL of the license.
        """
        for k, v in self.licenses[:]:
            if (name is None or name == k) and (url is None or url == v):
                del(self.licenses[self.licenses.index((k, v))])
def remove_license(self, name=None, url=None):
        for k, v in self.licenses[:]:
            if (name is None or name == k) and (url is None or url == v):
                del(self.licenses[self.licenses.index((k, v))])
def remove_license ( self , name = None , url = None ) : for k , v in self . licenses [ : ] : if ( name is None or name == k ) and ( url is None or url == v ) : del ( self . licenses [ self . licenses . index ( ( k , v ) ) ] )
Remove all licenses matching both key and value.

        :param str name: Name of the license.
        :param str url: URL of the license.
Remove all licenses matching both key and value .