summaryrefslogtreecommitdiff
path: root/modules/language/python/number.scm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/language/python/number.scm')
-rw-r--r--modules/language/python/number.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/language/python/number.scm b/modules/language/python/number.scm
index db8a0c8..6e45fd2 100644
--- a/modules/language/python/number.scm
+++ b/modules/language/python/number.scm
@@ -305,7 +305,7 @@
(define-method (write (o <py-int>) . l)
(apply write (slot-ref o 'x) l))
-(define-python-class int (<py-int>)
+(define-python-class int (<py> <py-int>)
(define __init__
(letrec ((__init__
(case-lambda
@@ -355,7 +355,7 @@
ret
#f)))))
-(define-python-class float (<py-float>)
+(define-python-class float (<py> <py-float>)
(define __init__
(case-lambda
((self n)
@@ -373,7 +373,7 @@
(name-object float)
-(define-python-class py-complex (<py-complex>)
+(define-python-class py-complex (<py> <py-complex>)
(define __init__
(case-lambda
((self n)