mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
|
||||
import sys
|
||||
|
||||
from typing import Optional, Type, Union, Tuple, Any
|
||||
from types import TracebackType
|
||||
from typing import Any, Optional, Tuple, Type, Union
|
||||
|
||||
_KeyType = Union[HKEYType, int]
|
||||
|
||||
@@ -93,7 +91,8 @@ class HKEYType:
|
||||
def __bool__(self) -> bool: ...
|
||||
def __int__(self) -> int: ...
|
||||
def __enter__(self) -> HKEYType: ...
|
||||
def __exit__(self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[TracebackType]) -> Optional[bool]: ...
|
||||
|
||||
def __exit__(
|
||||
self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[TracebackType]
|
||||
) -> Optional[bool]: ...
|
||||
def Close(self) -> None: ...
|
||||
def Detach(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user