Make Empty a subclass of Exception (#266)

This commit is contained in:
Max Payton authored and Guido van Rossum committed 2016-06-04 18:32:13 -07:00
1 parent a619491060
commit e8e82a7c73
1 file changed
+1 -1
+1 -1
View File
@@ -17,4 +17,4 @@ class Queue(Generic[_T]):
def qsize(self) -> int: ...
def task_done(self) -> None: pass
class Empty: ...
class Empty(Exception): ...