From 3091e12f0c774de746c0cc25a2921e1d4cf858a2 Mon Sep 17 00:00:00 2001 From: Azat Ibrakov Date: Sat, 2 Nov 2024 01:29:04 +0700 Subject: [PATCH] Fix module names --- rithm/_enums.py | 2 +- rithm/_rithm.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rithm/_enums.py b/rithm/_enums.py index a3aee86..44f96ab 100644 --- a/rithm/_enums.py +++ b/rithm/_enums.py @@ -4,7 +4,7 @@ class _BaseEnum(_IntEnum): - __module__ = 'rhythm.enums' + __module__ = 'rithm.enums' def __repr__(self) -> str: return f'{type(self).__qualname__}.{self.name}' diff --git a/rithm/_rithm.py b/rithm/_rithm.py index e30ac12..053d507 100644 --- a/rithm/_rithm.py +++ b/rithm/_rithm.py @@ -50,7 +50,7 @@ def from_bytes(cls, value: bytes, endianness: _Endianness, /) -> Self: _value: int - __module__ = 'rhythm.integer' + __module__ = 'rithm.integer' __slots__ = ('_value',) def __init_subclass__(cls, /, **_kwargs: Any) -> NoReturn: @@ -463,7 +463,7 @@ def round(self, tie_breaking: _TieBreaking, /) -> Int: _denominator: Int _numerator: Int - __module__ = 'rhythm.fraction' + __module__ = 'rithm.fraction' __slots__ = '_denominator', '_numerator' def __init_subclass__(cls, /, **_kwargs: Any) -> NoReturn: