use Literal[_MISSING_TYPE.MISSING] for dataclasses.field defaults (#13256)

This commit is contained in:
Stephen Morton
2024-12-18 10:21:31 -08:00
committed by GitHub
parent c2a33373cf
commit bd728fbfae
2 changed files with 11 additions and 5 deletions

View File

@@ -330,8 +330,6 @@ _?ctypes.Union.__getattr__ # doesn't exist, but makes things easy if we pretend
# These would ideally be special-cased by type checkers; see https://github.com/python/mypy/issues/2220
_?ctypes.Array.__iter__
dataclasses.field # White lies around defaults
# __all__-related weirdness (see #6523)
email.__all__
email.base64mime