summaryrefslogtreecommitdiff
path: root/modules/language/python/list.scm
diff options
context:
space:
mode:
authorStefan Israelsson Tampe <stefan.itampe@gmail.com>2018-03-22 10:40:03 +0100
committerStefan Israelsson Tampe <stefan.itampe@gmail.com>2018-03-22 10:40:03 +0100
commit1f86ca7767d661a42b3e66f667bb044f9c861346 (patch)
tree9940eb76056c652ad79834b7f567d9383e49c810 /modules/language/python/list.scm
parentdc9f37567dae95b4eedcb967fa1b2add3fad86c2 (diff)
bisect module
Diffstat (limited to 'modules/language/python/list.scm')
-rw-r--r--modules/language/python/list.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/language/python/list.scm b/modules/language/python/list.scm
index b101da7..782b5a9 100644
--- a/modules/language/python/list.scm
+++ b/modules/language/python/list.scm
@@ -753,7 +753,7 @@
(define-method (len x)
(if (null? x)
0
- (error "not a suitable lengthof")))
+ (error "not a suitable lengthof" x)))
(define-method (len (v <vector>)) (vector-length v))
(define-method (len (s <string>)) (string-length s))
(define-method (len (o <py-list>)) (slot-ref o 'n))