Skip to content

Commit

Permalink
Remove {*ignores} in fastparse, since mypyc does not support it (#6594)
Browse files Browse the repository at this point in the history
This fixes the mypyc build.
  • Loading branch information
msullivan authored and JukkaL committed Mar 27, 2019
1 parent d1e597d commit 3cea832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mypy/fastparse.py
Expand Up @@ -400,7 +400,7 @@ def visit_Module(self, mod: ast3.Module) -> MypyFile:
return MypyFile(body,
self.imports,
False,
{*ignores},
set(ignores),
)

# --- stmt ---
Expand Down
2 changes: 1 addition & 1 deletion mypy/fastparse2.py
Expand Up @@ -308,7 +308,7 @@ def visit_Module(self, mod: ast27.Module) -> MypyFile:
return MypyFile(body,
self.imports,
False,
{*ignores},
set(ignores),
)

# --- stmt ---
Expand Down

0 comments on commit 3cea832

Please sign in to comment.