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
The / syntax in parameter defines a positional-only argument:
/
def foo(a, /, arg):
Currently, rope doesn't handle variable scope around positional-only argument correctly.
To Reproduce
Steps to reproduce the behavior:
def foo(a, /, arg): print(a)
Describe the refactoring you want to do: Extract refactoring
Expected code after refactoring:
def foo(a, /, arg): extracted_method(a) def extracted_method(a): print(a)
def foo(a, /, arg): extracted_method() def extracted_method(): print(a)
Editor information (please complete the following information):
The text was updated successfully, but these errors were encountered:
fcbd54c
No branches or pull requests
Describe the bug
The
/
syntax in parameter defines a positional-only argument:Currently, rope doesn't handle variable scope around positional-only argument correctly.
To Reproduce
Steps to reproduce the behavior:
Describe the refactoring you want to do: Extract refactoring
Expected code after refactoring:
Editor information (please complete the following information):
The text was updated successfully, but these errors were encountered: