[3.11] gh-112266: Remove (if defined) part from __dict__ and __weakref__ docstrings (GH-112268)
#112276
+20
−18