You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was developing a merge_sort algorithm, tried using ic() to test the program, terminal spits out this error:
File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages\executing_position_node_finder.py", line 782, in PositionNodeFinder
extra_node_types = (ast.type_param,)
^^^^^^^^^^^^^^
AttributeError: module 'ast' has no attribute 'type_param'
Was developing a merge_sort algorithm, tried using ic() to test the program, terminal spits out this error:
File "C:\Users\me\AppData\Local\Programs\Python\Python312\Lib\site-packages\executing_position_node_finder.py", line 782, in PositionNodeFinder
extra_node_types = (ast.type_param,)
^^^^^^^^^^^^^^
AttributeError: module 'ast' has no attribute 'type_param'
This is the code being tested:
from icecream import ic
def merge_sort(arr):
midpoint = len(arr) // 2
return midpoint
array = [6, 9, 7, 1, 3]
ic(merge_sort(array))
The text was updated successfully, but these errors were encountered: