[3.8] bpo-36675: Remove obsolete code. (GH-16024) by miss-islington · Pull Request #16030 · python/cpython

@JulienPalard @miss-islington

Does no longer work since Sphinx moved the trim_doctest_flag option in
the configuration.
(cherry picked from commit 2c910c1)

Co-authored-by: Julien Palard <julien@palard.fr>

JulienPalard