Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing: Modify InternalType utilities to handle None attributes
This change does not affect the current functioning of the program, as: - _calc_external is only used in a context where self.internal exists and is a string - _calc_internal is only used in a context where self.external exists However, this change prevents typechecking errors once type annotations are added, because: - in _calc_external, self.internal.split fails if self.internal is not a string - in _calc_internal, return self.external causes an error if the return type annotation is "str", because self.external might be None
- Loading branch information