There was an error while loading. Please reload this page.
1 parent 7058de9 commit b387e6aCopy full SHA for b387e6a
1 file changed
stubs/pyperclip/pyperclip/__init__.pyi
@@ -1,8 +1,7 @@
1
__all__ = ["copy", "paste", "set_clipboard", "determine_clipboard"]
2
3
from collections.abc import Callable
4
-from typing import Any, Literal, TypeAlias, Protocol
5
-
+from typing import Any, Literal, Protocol, TypeAlias
6
7
class PyperclipException(RuntimeError): ...
8
@@ -11,11 +10,9 @@ class PyperclipWindowsException(PyperclipException):
11
10
12
class PyperclipTimeoutException(PyperclipException): ...
13
14
15
class WinDLLUser32Function(Protocol):
16
def __call__(self, *args: Any) -> Any: ...
17
18
19
# Wrapper for ctypes calls, should not be exposed to the developer
20
class CheckedCall:
21
def __init__(self, f: WinDLLUser32Function) -> None: ...
0 commit comments