#NEWLINE# def _goto( self ) : #NEWLINE# #INDENT# ' Jedi "go to Definitions" functionality\n\n        :rtype: list of (str, int, int) or None\n        ' #NEWLINE# try : #NEWLINE# #INDENT# definitions = self . script . goto_assignments ( ) #NEWLINE# if all ( ( ( d . type == 'import' ) for d in definitions ) ) : #NEWLINE# #INDENT# definitions = self . script . goto_definitions ( ) #NEWLINE# #UNINDENT# #UNINDENT# except NotFoundError : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return [ ( i . module_path , i . line , ( definitions . column + 1 ) ) for i in definitions if ( not i . in_builtin_module ( ) ) ]