From e8e82a7c736d2a7017e0e7ef792afae983654025 Mon Sep 17 00:00:00 2001 From: Max Payton Date: Sat, 4 Jun 2016 18:32:13 -0700 Subject: [PATCH] Make Empty a subclass of Exception (#266) --- stdlib/3/queue.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/queue.pyi b/stdlib/3/queue.pyi index 15d62f5e7..90cd5fc28 100644 --- a/stdlib/3/queue.pyi +++ b/stdlib/3/queue.pyi @@ -17,4 +17,4 @@ class Queue(Generic[_T]): def qsize(self) -> int: ... def task_done(self) -> None: pass -class Empty: ... +class Empty(Exception): ...