def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def setdefault(self, key, default=None):
        return self._collection.setdefault(key, self._from_python(key, default))