[Python-3000-checkins] r59590 - python/branches/py3k/Doc/library/os.rst
georg.brandl
python-3000-checkins at python.org
Fri Dec 21 09:45:43 CET 2007
Author: georg.brandl
Date: Fri Dec 21 09:45:42 2007
New Revision: 59590
Modified:
python/branches/py3k/Doc/library/os.rst
Log:
Document os.device_encoding.
Modified: python/branches/py3k/Doc/library/os.rst
==============================================================================
--- python/branches/py3k/Doc/library/os.rst (original)
+++ python/branches/py3k/Doc/library/os.rst Fri Dec 21 09:45:42 2007
@@ -401,6 +401,12 @@
:func:`fdopen`, use its :meth:`close` method.
+.. function:: device_encoding(fd)
+
+ Return a string describing the encoding of the device associated with *fd*
+ if it is connected to a terminal; else return :const:`None`.
+
+
.. function:: dup(fd)
Return a duplicate of file descriptor *fd*. Availability: Macintosh, Unix,
More information about the Python-3000-checkins
mailing list