feat: impl Eq, Hash, Ord for Python module types

This commit is contained in:
Shunsuke Shibayama 2024-03-05 22:48:05 +09:00
parent 1691647fe7
commit c94ac76262
4 changed files with 26 additions and 0 deletions

View file

@ -1,6 +1,9 @@
decimal = pyimport "decimal"
.Fraction: ClassType
.Fraction <: Eq
.Fraction <: Hash
.Fraction <: Ord
.Fraction.
numerator: Int
denominator: Int