From b85c0db72ef4c2ad154bb2d4f2b9ef1b5ceda022 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 19 Jun 2019 18:32:09 +0200 Subject: [PATCH] Fix a typo --- jedi/api/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jedi/api/__init__.py b/jedi/api/__init__.py index 52ccf01d..2225bc57 100644 --- a/jedi/api/__init__.py +++ b/jedi/api/__init__.py @@ -226,7 +226,8 @@ class Script(object): an option you can have two different versions of a function. :param only_stubs: Only return stubs for this goto call. - :param prefer_stubs: Prefer stubs to Python obects for this goto call. + :param prefer_stubs: Prefer stubs to Python objects for this type + inference call. :rtype: list of :class:`classes.Definition` """ with debug.increase_indent_cm('goto_definitions'): @@ -268,7 +269,7 @@ class Script(object): :param follow_builtin_imports: If follow_imports is True will decide if it follow builtin imports. :param only_stubs: Only return stubs for this goto call. - :param prefer_stubs: Prefer stubs to Python obects for this goto call. + :param prefer_stubs: Prefer stubs to Python objects for this goto call. :rtype: list of :class:`classes.Definition` """ with debug.increase_indent_cm('goto_assignments'):