From f246f5b8c658e0bf0e4e3150b9306907a6d4150e Mon Sep 17 00:00:00 2001 From: Stanislav Golovanov Date: Sat, 4 May 2013 22:47:37 +0400 Subject: [PATCH] remove not needed type casting --- python/completers/python/jedi_completer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/completers/python/jedi_completer.py b/python/completers/python/jedi_completer.py index 558192e4..7d363510 100644 --- a/python/completers/python/jedi_completer.py +++ b/python/completers/python/jedi_completer.py @@ -126,7 +126,7 @@ class JediCompleter( ThreadedCompleter ): def _JumpToLocation( self, definition_list ): if len( definition_list ) == 1: - definition = list( definition_list )[0] + definition = definition_list[0] if definition.in_builtin_module(): if isinstance( definition.definition, jedi.keywords.Keyword ): vimsupport.PostVimMessage(