[3.12] gh-88834: Unify the instance check for typing.Union and types.UnionType (GH-128363) (GH-128371)
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
ca017a171a20222c056f87551687da08c3856a3c
Parent: fcc9bc4
Committed by GitHub <noreply@github.com>
on 12/31/2024, 8:19:45 AM