From 5bc1a0f8dd7d6c07380b5e6c56d20a327c0ba587 Mon Sep 17 00:00:00 2001 From: Stefan Israelsson Tampe Date: Sat, 23 Sep 2017 20:57:50 +0200 Subject: dicts now works almost entirely --- modules/language/python/string.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/language/python/string.scm') diff --git a/modules/language/python/string.scm b/modules/language/python/string.scm index 15dbe43..22c8b88 100644 --- a/modules/language/python/string.scm +++ b/modules/language/python/string.scm @@ -3,6 +3,7 @@ #:use-module (oop pf-objects) #:use-module (ice-9 match) #:use-module (language python list) + #:use-module (language python exceptions) #:use-module (parser stis-parser) #:export (py-format py-capitalize py-center py-endswith py-expandtabs py-find py-rfind @@ -13,8 +14,6 @@ py-rpartitio py-rindex py-split py-rsplit py-splitlines py-startswith py-swapcase py-translate py-zfill)) -(define None 'None) - (define-syntax-rule (aif it p x y) (let ((it p)) (if it x y))) (define-syntax-rule (define-py (f n o . u) code ...) -- cgit v1.2.3