1
0
forked from VimPlug/jedi

Drop redundant rtype comment

This is better expressed as an annotation.
This commit is contained in:
Peter Law
2020-07-26 12:10:59 +01:00
parent b3edda30c4
commit 86e0e16625

View File

@@ -96,8 +96,6 @@ class BaseName(object):
def module_path(self) -> Optional[Path]:
"""
Shows the file path of a module. e.g. ``/usr/lib/python3.9/os.py``
:rtype: Path or None
"""
module = self._get_module_context()
if module.is_stub() or not module.is_compiled():