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

Support PEP3115 #136

Open
boxed opened this issue Jul 24, 2018 · 1 comment
Open

Support PEP3115 #136

boxed opened this issue Jul 24, 2018 · 1 comment

Comments

@boxed
Copy link
Contributor

boxed commented Jul 24, 2018

https://www.python.org/dev/peps/pep-3115/

You get a parser error when trying to parse this simple code: class Foo(Bar, metaclass=Baz): pass

@boxed
Copy link
Contributor Author

boxed commented Jul 25, 2018

Test:

def test_metaclass():
    check_dumps("class Foo(Bar, Quux, metaclass=Baz, foo=bar): pass\n")
    check_dumps("class Foo(*bases, **kwargs): pass\n")

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

No branches or pull requests

1 participant