code: def construct(cls, name, range=None):
          
          other = Requirement(None)
          other.name_ = name
          other.range_ = VersionRange() if range is None else range
          return other
docs: Create a requirement directly from an object name and VersionRange.
  
          Args:
              name: Object name string.
              range: VersionRange object. If None, an unversioned requirement is
                  created.