We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 420e1e0 commit 6dc42abCopy full SHA for 6dc42ab
src/clojure_python/core.clj
@@ -4,7 +4,7 @@
4
5
(declare ^:dynamic *interp*)
6
7
-(defn append-paths!
+(defn append-paths
8
"appends a vector of paths to the python system path"
9
[libpaths]
10
(.exec *interp* "import sys")
test/clojure_python/t_core.clj
(fact "append-paths adds the path to system path"
(binding [base/*interp* (org.python.util.PythonInterpreter.)]
- (-> (#'base/append-paths! ["test/clojure_python/"])
+ (-> (#'base/append-paths ["test/clojure_python/"])
.getLocals
(.__getitem__ "sys")
.path
0 commit comments