Extended R.H.S. on annotated assignments should imply Python 3.8+ #2707
Labels
C: target version
Related to --target-version, e.g. autodetection
S: accepted
The changes in this design / enhancement issue have been accepted and can be implemented
T: enhancement
New feature or request
Before 3.8 (through 3.6-3.7) the annotated assignment's R.H.S. value can be only simple
test
:a: int = 1
ora: Tuple[int, ...] = (1, 2)
. Starting with 3.8, it now acceptsa: Tuple[int, ...] = 1, 2
or evena: Tuple[int, ...] = b, *c, d
The text was updated successfully, but these errors were encountered: