(func_name, mod_name)
return isinstance(mod_name, str) and ((mod_name == 'numpy'
                                           and func_name in np_alloc_callnames)
                                          or (func_name == 'empty_inferred'
                                              and mod_name in ('numba.extending', 'numba.unsafe.ndarray'))
                                          or (func_name == 'pre_alloc_string_array'
                                              and mod_name == 'sdc.str_arr_ext')
                                          or (func_name in ('alloc_str_list', 'alloc_list_list_str')
                                              and mod_name == 'sdc.str_ext'))
return true if function represents an array creation call
return true if function represents an array creation call
return true if function represents an array creation call
def is_alloc_callname(func_name, mod_name):
    """
    return true if function represents an array creation call
    """
    return isinstance(mod_name, str) and ((mod_name == 'numpy'
                                           and func_name in np_alloc_callnames)
                                          or (func_name == 'empty_inferred'
                                              and mod_name in ('numba.extending', 'numba.unsafe.ndarray'))
                                          or (func_name == 'pre_alloc_string_array'
                                              and mod_name == 'sdc.str_arr_ext')
                                          or (func_name in ('alloc_str_list', 'alloc_list_list_str')
                                              and mod_name == 'sdc.str_ext'))
def is_alloc_callname ( func_name , mod_name ) : return isinstance ( mod_name , str ) and ( ( mod_name == 'numpy' and func_name in np_alloc_callnames ) or ( func_name == 'empty_inferred' and mod_name in ( 'numba.extending' , 'numba.unsafe.ndarray' ) ) or ( func_name == 'pre_alloc_string_array' and mod_name == 'sdc.str_arr_ext' ) or ( func_name in ( 'alloc_str_list' , 'alloc_list_list_str' ) and mod_name == 'sdc.str_ext' ) )