Issue #22191: Fix warnings.__all__.

Thanks to Jon Poler for the patch.
4 files changed