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

Use single dispatch instead of isinstance in the parser #112

Open
rlouf opened this issue Sep 28, 2022 · 0 comments
Open

Use single dispatch instead of isinstance in the parser #112

rlouf opened this issue Sep 28, 2022 · 0 comments

Comments

@rlouf
Copy link
Owner

rlouf commented Sep 28, 2022

In case someone is reading this and would like to use part of the code, you should replace the succession of isinstance statements with single dispatch on AST nodes.

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

No branches or pull requests

1 participant