[New-bugs-announce] [issue42860] Incompatible types in Python grammar

Tobias Kohn report at bugs.python.org
Thu Jan 7 16:09:27 EST 2021

New submission from Tobias Kohn <kohnt at tobiaskohn.ch>:

There seems to be a small type error in the Python grammar in the rule `invalid_parameters`:
    | param_no_default* (slash_with_default | param_with_default+) param_no_default
While the `slash_with_default` returns a single element, the `param_with_default` returns a list/sequence.

messages: 384603
nosy: tobias.kohn
priority: normal
severity: normal
status: open
title: Incompatible types in Python grammar
versions: Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list