[3.10] gh-91118: Fix docstrings that do not honor --without-doc-strings (GH-31769) (#91662)

Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit a573cb2fec664c645ab744658d7e941d72e1a398)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
17 files changed