aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/source/program.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 8049d94a6..9ee8e6d40 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -96,13 +96,13 @@
(asDouble [] double)
(asString [] java/lang/String)
(__nonzero__ [] boolean)
- (__getitem__ [int] #try org/python/core/PyObject)
- (__getitem__ #as __getitem__dict [org/python/core/PyObject] #try org/python/core/PyObject)
+ (__getitem__ [int] "try" org/python/core/PyObject)
+ (__getitem__ #as __getitem__dict [org/python/core/PyObject] "try" org/python/core/PyObject)
(__len__ [] int)])
(import: org/python/core/PyFunction
["#::."
- (__call__ [[org/python/core/PyObject]] #try org/python/core/PyObject)])
+ (__call__ [[org/python/core/PyObject]] "try" org/python/core/PyObject)])
(import: org/python/core/ThreadState)
@@ -114,8 +114,8 @@
(import: org/python/util/PythonInterpreter
["#::."
(new [])
- (exec [java/lang/String] #try void)
- (eval [java/lang/String] #try PyObject)])
+ (exec [java/lang/String] "try" void)
+ (eval [java/lang/String] "try" PyObject)])
(type: Translator
(-> org/python/core/PyObject (Try Any)))
@@ -313,7 +313,7 @@
@.python
(as_is (import: (dict [] ffi.Dict))
- (import: (eval [ffi.String ffi.Dict] #try Any))
+ (import: (eval [ffi.String ffi.Dict] "try" Any))
(def: host
(IO (Host (_.Expression Any) (_.Statement Any)))