Skip to content

Commit

Permalink
constructors, fixes, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
mplanchard committed Sep 15, 2019
1 parent 1f5df30 commit d97b55c
Show file tree
Hide file tree
Showing 11 changed files with 566 additions and 115 deletions.
7 changes: 2 additions & 5 deletions src/result_types/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
"""Typesafe python versions of Rust-inspired result types."""


__version__ = "1.0.0"
__version_info__ = tuple(map(lambda part: int(part), __version__.split(".")))
__version_info__ = tuple(map(int, __version__.split(".")))


# pylama: ignore=W0611
from ._interface import Option, Result
from ._impl import Ok, Err, Some, Nothing
from ._impl import Option, Result, Ok, Err, Some, Nothing
Loading

0 comments on commit d97b55c

Please sign in to comment.