diff options
Diffstat (limited to 'lib/python.tcl')
| -rw-r--r-- | lib/python.tcl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python.tcl b/lib/python.tcl index ed68aeb0..b927f059 100644 --- a/lib/python.tcl +++ b/lib/python.tcl @@ -281,6 +281,11 @@ proc registerArgtype {typeName serializer} { proc unknown {fnName args} { variable zmq; variable socket + # We need normal `unknown` to call methods on $zmq, so need to + # pass it through to ::unknown. + if {$fnName eq $zmq} { + tailcall ::unknown $fnName {*}$args + } # Send function name first $zmq zmqSendMore $socket $fnName |
