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.
py_{none,true,false}
Pythonx.C
1 parent 6398fa5 commit a483a5eCopy full SHA for a483a5e
lib/c.ex
@@ -1,5 +1,7 @@
1
defmodule Pythonx.C do
2
- @moduledoc false
+ @moduledoc """
3
+ Python C API.
4
+ """
5
6
@doc """
7
Flag to be used with multiple functions that print the object (like `PyObject.print/1` and `PyFile.write_object`).
@@ -31,4 +33,8 @@ defmodule Pythonx.C do
31
33
"""
32
34
@spec py_single_input :: integer()
35
def py_single_input, do: Pythonx.Nif.py_single_input()
36
+
37
+ defdelegate py_none(), to: Pythonx.C.PyObject
38
+ defdelegate py_true(), to: Pythonx.C.PyObject
39
+ defdelegate py_false(), to: Pythonx.C.PyObject
40
end
0 commit comments