[3.11] GH-93521: For dataclasses, filter out __weakref__
slot if present in bases (GH-93535)#93594
Merged
miss-islington merged 1 commit intopython:3.11from Jun 8, 2022
__weakref__
slot if present in bases (GH-93535)#93594