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 ast.Constant for recent Python versions #526

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

wdhongtw
Copy link
Contributor

ast.Str is planned to removed in Python 3.14, use ast.Constant instead whenever the later is available.

This PR resolves #523, if that's an issue. 😹

All test cases are passed and the pylint score is not changed.

Your code has been rated at 9.87/10 (previous run: 9.87/10, +0.00)

ast.Str is planned to removed in Python 3.14, use ast.Constant instead
whenever the later is available.
@dbieber dbieber merged commit a59f6ba into google:master Aug 9, 2024
1 check passed
@dbieber
Copy link
Member

dbieber commented Aug 9, 2024

Thanks for the fix!

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.

Replace deprecated usage of ast.Str
2 participants