From e389adfba70471c84b849bf89ea0c1c1d050a9ea Mon Sep 17 00:00:00 2001 From: Eric Lunderberg Date: Mon, 21 Aug 2023 10:42:28 -0500 Subject: [PATCH] Fix lint err --- python/tvm/_ffi/_ctypes/packed_func.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/tvm/_ffi/_ctypes/packed_func.py b/python/tvm/_ffi/_ctypes/packed_func.py index d3ec287b5044f..55ff36febf56a 100644 --- a/python/tvm/_ffi/_ctypes/packed_func.py +++ b/python/tvm/_ffi/_ctypes/packed_func.py @@ -340,6 +340,7 @@ def _set_class_object_generic(object_generic_class, func_convert_to_object): _CLASS_OBJECT_GENERIC = object_generic_class _FUNC_CONVERT_TO_OBJECT = func_convert_to_object + def _init_pythonapi_inc_def_ref(): register_func = _LIB.TVMBackendRegisterEnvCAPI register_func(c_str("Py_IncRef"), ctypes.pythonapi.Py_IncRef)