Skip to content

Commit 1a8ee20

Browse files
committed
de-muff non-dynamics
1 parent f3fc9db commit 1a8ee20

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

etc/jython-2.5.1.jar

-20.2 MB
Binary file not shown.

src/clojure_python/core.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"this may later take keywords and initialize other things
1111
for now it is just used to specify python library paths"
1212
([libpath]
13-
(doto clojure-python.core/*interp*
13+
(doto clojure-python.core/interp
1414
(.exec "import sys")
1515
(.exec (str "sys.path.append('" libpath "')"))))
1616
([libpath & more]
@@ -24,8 +24,8 @@
2424
and the others are objects to import from this library"
2525
([] nil)
2626
([lib] ; import a library
27-
`(do (. clojure-python.core/*interp* exec (str "import " ~(name lib)))
28-
(def ~lib (. (. (. clojure-python.core/*interp* getLocals)
27+
`(do (. clojure-python.core/interp exec (str "import " ~(name lib)))
28+
(def ~lib (. (. (. clojure-python.core/interp getLocals)
2929
__getitem__ ~(name lib))
3030
__dict__))
3131
(print ~lib)))

0 commit comments

Comments
 (0)