We need to cherry-pick https://github.com/python/typeshed/pull/8137
We need to cherry-pick python/typeshed#8137