Skip to content

Commit f3d16f9

Browse files
committed
fix spec
Signed-off-by: Cocoa <[email protected]>
1 parent 8bd7ea7 commit f3d16f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/c/pyobject.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ defmodule Pythonx.C.PyObject do
8181
The only option currently supported is `Pythonx.py_print_raw`;
8282
if given, the `str()` of the object is written instead of the `repr()`.
8383
"""
84-
@spec print(PyObject.t(), :stdout | :stderr | IO.t(), integer()) :: String.t() | PyErr.t()
84+
@spec print(PyObject.t(), :stdout | :stderr | IO.device(), integer()) :: String.t() | PyErr.t()
8585
def print(o, fp, flags) do
8686
ret = Pythonx.Nif.py_object_print(o, flags)
8787

0 commit comments

Comments
 (0)