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
{{ message }}
Repository navigation
Simplify the implementation of typing.Annotated #105509
typing.Annotated is currently implemented as a class, but doesn't need to be. All other objects like it in the typing module are implemented as instances of typing._SpecialForm, and we can do the same here. This simplifies the code a lot (making it easier to maintain in the future), and should also be slightly more performant.
Activity
gh-105509: Simplify implementation of `typing.Annotated` (#105510)