You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before 3.8 (through 3.6-3.7) the annotated assignment's R.H.S. value can be only simple test: a: int = 1 or a: Tuple[int, ...] = (1, 2). Starting with 3.8, it now accepts a: Tuple[int, ...] = 1, 2 or even a: Tuple[int, ...] = b, *c, d
Before 3.8 (through 3.6-3.7) the annotated assignment's R.H.S. value can be only simple
test:a: int = 1ora: Tuple[int, ...] = (1, 2). Starting with 3.8, it now acceptsa: Tuple[int, ...] = 1, 2or evena: Tuple[int, ...] = b, *c, d