Commit 3fc974f2 authored by Georg Brandl's avatar Georg Brandl

Clarify os.strerror()s exception behavior.

parent 627a666d
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment