mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 10:51:15 +08:00
Make Empty a subclass of Exception (#266)
This commit is contained in:
committed by
Guido van Rossum
parent
a619491060
commit
e8e82a7c73
@@ -17,4 +17,4 @@ class Queue(Generic[_T]):
|
||||
def qsize(self) -> int: ...
|
||||
def task_done(self) -> None: pass
|
||||
|
||||
class Empty: ...
|
||||
class Empty(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user