Skip to content

Commit

Permalink
Merge pull request #541 from asottile/remove-unpack-arg-listcomp
Browse files Browse the repository at this point in the history
remove splatting of listcomp -> splat of generator
  • Loading branch information
asottile committed Sep 22, 2021
2 parents fd60bbe + f4053ec commit 748a1f0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 117 deletions.
11 changes: 0 additions & 11 deletions README.md
Expand Up @@ -498,17 +498,6 @@ Availability:
```


### Unpacking argument list comprehensions

Availability:
- `--py3-plus` is passed on the commandline.

```diff
-foo(*[i for i in bar])
+foo(*(i for i in bar))
```


### Rewrite `xml.etree.cElementTree` to `xml.etree.ElementTree`

Availability:
Expand Down
26 changes: 0 additions & 26 deletions pyupgrade/_plugins/unpacking_argument_list_comprehensions.py

This file was deleted.

80 changes: 0 additions & 80 deletions tests/features/unpacking_argument_list_comprehensions_test.py

This file was deleted.

0 comments on commit 748a1f0

Please sign in to comment.