10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b37c8a commit 0519ec8Copy full SHA for 0519ec8
pyls/python_ls.py
@@ -32,7 +32,7 @@ def handle(self):
32
33
34
def start_tcp_lang_server(bind_addr, port, handler_class):
35
- if not isinstance(handler_class, PythonLanguageServer):
+ if not issubclass(handler_class, PythonLanguageServer):
36
raise ValueError('Handler class must be an instance of PythonLanguageServer')
37
38
# Construct a custom wrapper class around the user's handler_class
0 commit comments