Skip to content

Commit 9a37698

Browse files
committed
Fix typo in PermissionError
1 parent 747fd46 commit 9a37698

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/future/types/exceptions/pep3151.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def NotADirectoryError(inst):
8888

8989

9090
@instance_checking_exception(OSError)
91-
def PermissionErrror(inst):
91+
def PermissionError(inst):
9292
"""Not enough permissions."""
9393
errnos = {errno.EACCES, errno.EPERM}
9494
return hasattr(inst, 'errno') and inst.errno in errnos
@@ -118,7 +118,7 @@ def TimeoutError(inst):
118118
'InterruptedError',
119119
'IsADirectoryError',
120120
'NotADirectoryError',
121-
'PermissionErrror',
121+
'PermissionError',
122122
'ProcessLookupError',
123123
'TimeoutError',
124124
]

0 commit comments

Comments
 (0)