baron icon indicating copy to clipboard operation
baron copied to clipboard

Support PEP3115

Open boxed opened this issue 7 years ago • 1 comments

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 avatar Jul 24 '18 20:07 boxed

Test:

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

boxed avatar Jul 25 '18 22:07 boxed