SIGN IN SIGN UP

bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864)

We treat Annotated type arg as class-level annotation. This exempts it from checks against Final and ClassVar in order to allow using them in any nesting order.

Automerge-Triggered-By: GH:gvanrossum
(cherry picked from commit e1abffca45b60729c460e3e2ad50c8c1946cfd4e)

Co-authored-by: Gregory Beauregard <greg@greg.red>
M
Miss Islington (bot) committed
41e0aead3defa6d0486514e313b6975fbf375998
Parent: 367a37a
Committed by GitHub <noreply@github.com> on 1/25/2022, 2:38:45 PM