[3.11] GH-92678: Expose managed dict clear and visit functions (GH-95246). (#95256)

Co-authored-by: Mark Shannon <mark@hotpy.org>
5 files changed