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,
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to