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 5a13db1 commit 22a746eCopy full SHA for 22a746e
pylsp/plugins/symbols.py
@@ -40,7 +40,7 @@ def pylsp_document_symbols(config, document):
40
continue
41
try:
42
docismodule = os.path.samefile(document.path, d.module_path)
43
- except AttributeError:
+ except TypeError:
44
# Python 2 on Windows has no .samefile, but then these are
45
# strings for sure
46
docismodule = document.path == d.module_path
0 commit comments