[Python-checkins] r63095 - python/trunk/Doc/library/os.rst
georg.brandl
python-checkins at python.org
Sun May 11 23:16:37 CEST 2008
Author: georg.brandl
Date: Sun May 11 23:16:37 2008
New Revision: 63095
Log:
Clarify os.strerror()s exception behavior.
Modified:
python/trunk/Doc/library/os.rst
Modified: python/trunk/Doc/library/os.rst
==============================================================================
--- python/trunk/Doc/library/os.rst (original)
+++ python/trunk/Doc/library/os.rst Sun May 11 23:16:37 2008
@@ -285,7 +285,8 @@
.. 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)
More information about the Python-checkins
mailing list