mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
feat: impl Eq, Hash, Ord
for Python module types
This commit is contained in:
parent
1691647fe7
commit
c94ac76262
4 changed files with 26 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
decimal = pyimport "decimal"
|
||||
|
||||
.Fraction: ClassType
|
||||
.Fraction <: Eq
|
||||
.Fraction <: Hash
|
||||
.Fraction <: Ord
|
||||
.Fraction.
|
||||
numerator: Int
|
||||
denominator: Int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue