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

Add Kind to constant value in AST and parser #205

Open
Glyphack opened this issue Nov 7, 2023 · 0 comments
Open

Add Kind to constant value in AST and parser #205

Glyphack opened this issue Nov 7, 2023 · 0 comments
Labels
good first issue Good for newcomers parser

Comments

@Glyphack
Copy link
Owner

Glyphack commented Nov 7, 2023

Add the kind attribute for following situation in ast:

>>> print(ast.dump(ast.parse("u'a'")))
Module(body=[Expr(value=Constant(value='a', kind='u'))], type_ignores=[])
@Glyphack Glyphack added the parser label Jun 1, 2024
@Glyphack Glyphack changed the title Add Kind to ast constant type Add Kind to constant value in AST and parser Jun 1, 2024
@Glyphack Glyphack added the good first issue Good for newcomers label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers parser
Projects
None yet
Development

No branches or pull requests

1 participant