8000 doc: add comment about function callbacks · denosaurs/deno_python@a1eb9d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit a1eb9d7

Browse files
authored
doc: add comment about function callbacks
1 parent 477266f commit a1eb9d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/python.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ export interface PythonProxy {
4747
*
4848
* - `Set` becomes `set` in Python.
4949
*
50+
* - `function` becomes a Python function. First argument passed is
51+
* an object containing kwargs and rest arguments are positional.
52+
*
5053
* If you pass a PyObject, it is used as-is.
5154
*
5255
* If you pass a PythonProxy, its original PyObject will be used.

0 commit comments

Comments
 (0)
0