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
I'm just trying to understand the different features and tried some things on this python snippet:
def f(a, b): if True: y = a + b z = y + b return z + y
If I call Refactor extract_block (either in visual mode or not) and give the new function the name test I get:
Refactor extract_block
test
def test(a, b): if True: y = a + b z = y + b return z + y def f(a, b): test(a, b)
which I'm not sure what's the purpose, seems like just a copy of the function and f is now broken since it doesn't return anything.
f
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm just trying to understand the different features and tried some things on this python snippet:
If I call
Refactor extract_block
(either in visual mode or not) and give the new function the nametest
I get:which I'm not sure what's the purpose, seems like just a copy of the function and
f
is now broken since it doesn't return anything.The text was updated successfully, but these errors were encountered: