Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Nov 1, 2024
1 parent e5b6628 commit a8f318f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rithm/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __repr__(self) -> str: ...
else:
try:
from . import _crithm as _module
except ModuleNotFoundError:
except ImportError:
from . import _enums as _module

Endianness = _module.Endianness
Expand Down
2 changes: 1 addition & 1 deletion rithm/fraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __trunc__(self, /) -> Int: ...
else:
try:
from . import _crithm as _module
except ModuleNotFoundError:
except ImportError:
from . import _rithm as _module

Fraction = _module.Fraction
Expand Down
2 changes: 1 addition & 1 deletion rithm/integer.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def __xor__(self, other: Self | int, /) -> Self: ...
else:
try:
from . import _crithm as _module
except ModuleNotFoundError:
except ImportError:
from . import _rithm as _module

Int = _module.Int
Expand Down

0 comments on commit a8f318f

Please sign in to comment.