Clarify os.strerror()s exception behavior.

This commit is contained in:
Georg Brandl 2008-05-11 21:16:37 +00:00
parent 627a666db0
commit 3fc974f2d4
1 changed files with 2 additions and 1 deletions

View File

@ -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)