1 parent 747fd46 commit 9a37698Copy full SHA for 9a37698
1 file changed
src/future/types/exceptions/pep3151.py
@@ -88,7 +88,7 @@ def NotADirectoryError(inst):
88
89
90
@instance_checking_exception(OSError)
91
-def PermissionErrror(inst):
+def PermissionError(inst):
92
"""Not enough permissions."""
93
errnos = {errno.EACCES, errno.EPERM}
94
return hasattr(inst, 'errno') and inst.errno in errnos
@@ -118,7 +118,7 @@ def TimeoutError(inst):
118
'InterruptedError',
119
'IsADirectoryError',
120
'NotADirectoryError',
121
- 'PermissionErrror',
+ 'PermissionError',
122
'ProcessLookupError',
123
'TimeoutError',
124
]
0 commit comments