🏷️ add missing type hint

This commit is contained in:
yanyongyu 2021-08-13 00:20:41 +08:00
parent e7f5097e17
commit 57a60ae45b

View File

@ -347,7 +347,7 @@ class WebSocket(HTTPConnection, abc.ABC):
@property
@abc.abstractmethod
def closed(self):
def closed(self) -> bool:
"""
:类型: ``bool``
:说明: 连接是否已经关闭