summaryrefslogtreecommitdiff
path: root/modules/language/python/string.scm
diff options
context:
space:
mode:
authorStefan Israelsson Tampe <stefan.itampe@gmail.com>2017-10-11 20:07:51 +0200
committerStefan Israelsson Tampe <stefan.itampe@gmail.com>2017-10-11 20:07:51 +0200
commitac93ca810e2fe04a5dc56a415e8d9a836ce151f9 (patch)
tree8bcf72cafb81b858601e5f6c55c092c1096b3a1d /modules/language/python/string.scm
parentad7e9183675e07d8e0698f7c064858a6052ebc7d (diff)
equal magics
Diffstat (limited to 'modules/language/python/string.scm')
-rw-r--r--modules/language/python/string.scm4
1 files changed, 2 insertions, 2 deletions
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 <py-string>)) (hash (slot-ref o 'str) pyhash-N))
-(define-method (equal? (o <py-string>) x)
+(define-method (py-equal? (o <py-string>) x)
(equal? (slot-ref o 'str) x))
-(define-method (equal? x (o <py-string>))
+(define-method (py-equal? x (o <py-string>))
(equal? (slot-ref o 'str) x))
(define-class <string-iter> (<py-string>) str i d)