Mercurial > code > home > repos > light9
diff stubs/usb/libloader.pyi @ 1882:5c1b662c0263
stub updates
Ignore-this: 1c3a7199c6f2b6e85fd40c2d6bd2613c
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Tue, 28 May 2019 06:42:27 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/stubs/usb/libloader.pyi Tue May 28 06:42:27 2019 +0000 @@ -0,0 +1,15 @@ +# Stubs for usb.libloader (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +class LibraryException(OSError): ... +class LibraryNotFoundException(LibraryException): ... +class NoLibraryCandidatesException(LibraryNotFoundException): ... +class LibraryNotLoadedException(LibraryException): ... +class LibraryMissingSymbolsException(LibraryException): ... + +def locate_library(candidates: Any, find_library: Any = ...): ... +def load_library(lib: Any, name: Optional[Any] = ..., lib_cls: Optional[Any] = ...): ... +def load_locate_library(candidates: Any, cygwin_lib: Any, name: Any, win_cls: Optional[Any] = ..., cygwin_cls: Optional[Any] = ..., others_cls: Optional[Any] = ..., find_library: Optional[Any] = ..., check_symbols: Optional[Any] = ...): ...