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

fix(extract-method): Extracts method when list comprehension within method's scope #471

Merged
merged 2 commits into from
May 16, 2022

Conversation

dryobates
Copy link
Contributor

Fixed extracting method from class method when there is list comprehension inside method.

Description

Fixes #461

Checklist (delete if not relevant):

  • I have added tests that prove my fix is effective or that my feature works
  • I have updated CHANGELOG.md

@lieryan lieryan added this to the 1.1.0 milestone May 16, 2022
@lieryan lieryan merged commit 7dc86b6 into python-rope:master May 16, 2022
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.

Extracting method with similar statements fails when it contains list comprehension
2 participants