v1.3.0 - Python 3.8 Support, Option.raise_if_nothing()
1.3.0 - 2019-01-12
Added
- Testing in CI for Python 3.8
Option.raise_if_nothing(self, msg: str, exc_cls: t.Type[Exception] = RuntimeError) -> T
added as a semantically friendly alias forOption.expect
.
Deprecated
Option.raise_if_err
is deprecated in favor ofOption.raise_if_nothing
.
Will be removed in2.0.0