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 8bd7ea7 commit f3d16f9Copy full SHA for f3d16f9
lib/c/pyobject.ex
@@ -81,7 +81,7 @@ defmodule Pythonx.C.PyObject do
81
The only option currently supported is `Pythonx.py_print_raw`;
82
if given, the `str()` of the object is written instead of the `repr()`.
83
"""
84
- @spec print(PyObject.t(), :stdout | :stderr | IO.t(), integer()) :: String.t() | PyErr.t()
+ @spec print(PyObject.t(), :stdout | :stderr | IO.device(), integer()) :: String.t() | PyErr.t()
85
def print(o, fp, flags) do
86
ret = Pythonx.Nif.py_object_print(o, flags)
87
0 commit comments