cpython/Misc/NEWS.d/next/Core and Builtins/2024-05-23-06-34-14.gh-issue-119395.z-Hsqb.rst

Fix bug where names appearing after a generic class are mangled as if they
are in the generic class.