There is an entry in "Core and builtins" section of Misc/NEWS: "Bug #1722484: remove docstrings again when running with -OO.". The actual bug is 1722485. Incidentally, 1722484 appears to be spam.