We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9939ccf commit f940515Copy full SHA for f940515
src/libpython_clj2/python.clj
@@ -490,8 +490,10 @@ user> (py/call-attr inst \"addarg\" 10)
490
(defmacro py.
491
"Class/object method syntax. (py. obj method arg1 arg2 ... argN)
492
is equivalent to Python's obj.method(arg1, arg2, ..., argN) syntax."
493
- [x & args]
494
- (list* (into (vector #'$a x) args)))
+ [x method-name & args]
+ ;; method-name cast to a string specifically for go and go-loop
495
+ ;; compatability
496
+ `(~#'$a ~x ~(str method-name) ~@args))
497
498
499
(defmacro py*
0 commit comments