We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
patchedast fails to parse Starred arguments sandwiched between other positional arguments.
To Reproduce Steps to reproduce the behavior:
a = 10 print(a) b = 20 print( "arg1", *b, "arg2", )
Describe the refactoring you want to do: any refactoring, but for example inlining of variable a
a
Expected code after refactoring:
print(10) b = 20 print( "arg1", *b, "arg2", )
MismatchedTokenError: Token <,> at (1, 12) cannot be mat
Editor information (please complete the following information):
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
patchedast fails to parse Starred arguments sandwiched between other positional arguments.
To Reproduce
Steps to reproduce the behavior:
Describe the refactoring you want to do: any refactoring, but for example inlining of variable
a
Expected code after refactoring:
Editor information (please complete the following information):
The text was updated successfully, but these errors were encountered: