def METHOD_NAME(self, bound: str | None) -> None:
    if not bound:
        pass
    elif bound.startswith('..'):
        self.require_name_to(bound[2:])
    else:
        self.require_name_from(bound)