mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
# NOTE: These are incomplete!
|
||||
|
||||
from threading import Condition, Lock
|
||||
from typing import Any, TypeVar, Generic, Optional
|
||||
import sys
|
||||
from threading import Condition, Lock
|
||||
from typing import Any, Generic, Optional, TypeVar
|
||||
|
||||
_T = TypeVar('_T')
|
||||
_T = TypeVar("_T")
|
||||
|
||||
class Empty(Exception): ...
|
||||
class Full(Exception): ...
|
||||
@@ -20,7 +20,6 @@ class Queue(Generic[_T]):
|
||||
all_tasks_done: Condition # undocumented
|
||||
unfinished_tasks: int # undocumented
|
||||
queue: Any # undocumented
|
||||
|
||||
def __init__(self, maxsize: int = ...) -> None: ...
|
||||
def _init(self, maxsize: int) -> None: ...
|
||||
def empty(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user