File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1212from __future__ import annotations
1313
1414import warnings
15- from typing import Callable , Optional , TypeAlias
15+ from typing import Any , Callable , Optional , TypeAlias
1616from ctypes import *
1717
1818# Import all the raw bindings
1919from . import webui_bindings as _raw
2020
2121
22- _FileHandlerCallback : TypeAlias = _raw .FILE_HANDLER_CB
2322# C function type for the file handler window
2423filehandler_window_callback = CFUNCTYPE (c_void_p , c_size_t , c_char_p , POINTER (c_int ))
2524
@@ -619,7 +618,7 @@ def __init__(self, window_id: Optional[int] = None):
619618 self ._cb_func_list : dict = {}
620619
621620 # gets used for both filehandler and filehandler_window, should wipe out the other just how it does in C
622- self ._file_handler_cb : _FileHandlerCallback = None
621+ self ._file_handler_cb : Any = None
623622 self ._buffers : list = []
624623
625624 # -- dispatcher for function bindings -----------
You can’t perform that action at this time.
0 commit comments