diff --git a/pyproject.toml b/pyproject.toml index be89b742c..c97919f4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,7 +91,6 @@ default.extend-ignore-re = [ [tool.typos.default.extend-identifiers] IPPROTO_ND = "IPPROTO_ND" -ERROR_INVALID_PARMETER = "ERROR_INVALID_PARMETER" xn--caf-dma = "xn--caf-dma" mis-nested = "misnested" diff --git a/src/trio/_core/_windows_cffi.py b/src/trio/_core/_windows_cffi.py index 575fcb560..4aef8ddc8 100644 --- a/src/trio/_core/_windows_cffi.py +++ b/src/trio/_core/_windows_cffi.py @@ -420,7 +420,7 @@ class ErrorCodes(enum.IntEnum): ERROR_OPERATION_ABORTED = 995 ERROR_ABANDONED_WAIT_0 = 735 ERROR_INVALID_HANDLE = 6 - ERROR_INVALID_PARMETER = 87 + ERROR_INVALID_PARAMETER = 87 ERROR_NOT_FOUND = 1168 ERROR_NOT_SOCKET = 10038