[Mod] WebSocketClient:非纯虚函数不使用abstractmethod

This commit is contained in:
nanoric 2018-10-15 04:38:29 -04:00
parent c50c31a6bd
commit 562fae9a25

View File

@ -154,7 +154,6 @@ class WebsocketClient(object):
pass
#----------------------------------------------------------------------
@abstractmethod
def onError(self, exceptionType, exceptionValue, tb):
"""Python错误回调"""
pass
return sys.excepthook(exceptionType, exceptionValue, tb)