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