[3.13] gh-88834: Unify the instance check for typing.Union and types.UnionType (GH-128363) (GH-128370)
Union now uses the instance checks against its parameters instead of the subclass checks. (cherry picked from commit b2ac70a62ad1be8e037ce45ccf5f1b753ea5e64b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
M
Miss Islington (bot) committed
08ae06fe46a0fef25432123aacd57a4289335fc0
Parent: 62729d7
Committed by GitHub <noreply@github.com>
on 12/31/2024, 6:45:03 PM