def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def update(self):
        self.size = 1 + size(self.left) + size(self.right)