Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

AttributeError every time #164

Open
rahulvikram opened this issue Nov 5, 2023 · 0 comments
Open

AttributeError every time #164

rahulvikram opened this issue Nov 5, 2023 · 0 comments

Comments

@rahulvikram
Copy link

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))

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant