From ac93ca810e2fe04a5dc56a415e8d9a836ce151f9 Mon Sep 17 00:00:00 2001 From: Stefan Israelsson Tampe Date: Wed, 11 Oct 2017 20:07:51 +0200 Subject: equal magics --- modules/language/python/string.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/language/python/string.scm') diff --git a/modules/language/python/string.scm b/modules/language/python/string.scm index d8f4da7..16d9d0b 100644 --- a/modules/language/python/string.scm +++ b/modules/language/python/string.scm @@ -513,9 +513,9 @@ (define-method (pyhash (o )) (hash (slot-ref o 'str) pyhash-N)) -(define-method (equal? (o ) x) +(define-method (py-equal? (o ) x) (equal? (slot-ref o 'str) x)) -(define-method (equal? x (o )) +(define-method (py-equal? x (o )) (equal? (slot-ref o 'str) x)) (define-class () str i d) -- cgit v1.2.3