From 86e0e16625a4c5916ad40e5a01cc00e6a7d75cef Mon Sep 17 00:00:00 2001 From: Peter Law Date: Sun, 26 Jul 2020 12:10:59 +0100 Subject: [PATCH] Drop redundant rtype comment This is better expressed as an annotation. --- jedi/api/classes.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/jedi/api/classes.py b/jedi/api/classes.py index 5c746cd9..2cab497a 100644 --- a/jedi/api/classes.py +++ b/jedi/api/classes.py @@ -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():