Clarify os.strerror()s exception behavior.
This commit is contained in:
parent
627a666db0
commit
3fc974f2d4
|
@ -285,7 +285,8 @@ process and user.
|
|||
.. function:: strerror(code)
|
||||
|
||||
Return the error message corresponding to the error code in *code*.
|
||||
Availability: Unix, Windows.
|
||||
On platforms where :cfunc:`strerror` returns ``NULL`` when given an unknown
|
||||
error number, :exc:`ValueError` is raised. Availability: Unix, Windows.
|
||||
|
||||
|
||||
.. function:: umask(mask)
|
||||
|
|
Loading…
Reference in New Issue