fix parsing reST with code or code-block directives (closes #23063)

Patch by Marc Abramowitz.
diff --git a/Misc/NEWS b/Misc/NEWS
index cb90d13..b34d417 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,6 +15,9 @@
 Library
 -------
 
+- Issue #23063: In the disutils' check command, fix parsing of reST with code or
+  code-block directives.
+
 - Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The
   availability of the function is checked during the compilation. Patch written
   by Bernard Spil.