I would think that the ` | Any`s in the following four return types should be removed. https://github.com/python/typeshed/blob/54e11a1ec48ccfde21642fafe1e531117c0da9f6/stdlib/typing.pyi#L1144 https://github.com/python/typeshed/blob/54e11a1ec48ccfde21642fafe1e531117c0da9f6/stdlib/typing.pyi#L1146 https://github.com/python/typeshed/blob/54e11a1ec48ccfde21642fafe1e531117c0da9f6/stdlib/re.pyi#L184 https://github.com/python/typeshed/blob/54e11a1ec48ccfde21642fafe1e531117c0da9f6/stdlib/re.pyi#L188