diff options
Diffstat (limited to 'modules/language/python/list.scm')
-rw-r--r-- | modules/language/python/list.scm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/language/python/list.scm b/modules/language/python/list.scm index ded6b15..34c9ba0 100644 --- a/modules/language/python/list.scm +++ b/modules/language/python/list.scm @@ -11,7 +11,7 @@ #:use-module (language python try) #:use-module (language python exceptions) #:export (to-list to-pylist <py-list> - pylist-ref pylist-set! pylist-append! + pylist-append! pylist-slice pylist-subset! pylist-reverse! pylist-pop! pylist-count pylist-extend! len in pylist-insert! pylist-remove! pylist-sort! @@ -822,11 +822,11 @@ (let ((n1 (len o1)) (n2 (len o2))) (for ((x1 : o1) (x2 : o2)) () - (if (> x1 x2) - (break #t)) - #:final - (>= n1 n2)))) - + (if (> x1 x2) + (break #t)) + #:final + (>= n1 n2)))) + (define-python-class list (<py-list>) (define __init__ (letrec ((__init__ |