Skip to content

Commit e8e82a7

Browse files
ArgentFalcongvanrossum
authored andcommitted
Make Empty a subclass of Exception (#266)
1 parent a619491 commit e8e82a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/queue.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ class Queue(Generic[_T]):
1717
def qsize(self) -> int: ...
1818
def task_done(self) -> None: pass
1919

20-
class Empty: ...
20+
class Empty(Exception): ...

0 commit comments

Comments
 (0)