bpo-28556: Minor fixes for typing module (GH-6732)


This also fixes https://bugs.python.org/issue33420
(cherry picked from commit 43d12a6bd82bd09ac189069fe1eb40cdbc10a58c)

Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
3 files changed