Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Supply an empty name to ast.ClassDef and ast.FunctionDef #734

Closed
wants to merge 1 commit into from

Conversation

ld-cd
Copy link

@ld-cd ld-cd commented Aug 30, 2024

Python 3.13 appears to be deprecating not providing the name parameter for ast.ClassDef, this patch provides an empty string as a name when an empty ast.ClassDef or ast.FunctionDef is created.

See:
https://github.com/MazinLab/binney/actions/runs/10627764750/job/29462165838#step:5:310

Signed-off-by: Aled Cuda [email protected]

@ld-cd
Copy link
Author

ld-cd commented Aug 30, 2024

Missed the open PR for this

@ld-cd ld-cd closed this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant