Unverified Commit 7fa07ee2 authored by strobel's avatar strobel Committed by GitHub
Browse files

[python] add type hints to _safe_call (#4641)


Co-authored-by: default avatarstrobel <thaddaeus.strobel@ai4bd.com>
Co-authored-by: default avatarNikita Titov <nekit94-12@hotmail.com>
parent df8c10ba
...@@ -113,7 +113,7 @@ _LIB = _load_lib() ...@@ -113,7 +113,7 @@ _LIB = _load_lib()
NUMERIC_TYPES = (int, float, bool) NUMERIC_TYPES = (int, float, bool)
def _safe_call(ret): def _safe_call(ret: int) -> None:
"""Check the return value from C API call. """Check the return value from C API call.
Parameters Parameters
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment