def defined_names(source, path=None, encoding='utf-8'):
 warnings.warn('Use call_signatures instead.', DeprecationWarning)
 return names(source, path, encoding)

def defined_names ( source , path = None , encoding = 'utf-8' ) : warnings . warn ( 'Use call_signatures instead.' , DeprecationWarning ) return names ( source , path , encoding )
get all definitions in source sorted by its position .