[pypy-svn] r30007 - pypy/dist/pypy/module/fcntl
rhymes at codespeak.net
rhymes at codespeak.net
Thu Jul 13 12:16:27 CEST 2006
Author: rhymes
Date: Thu Jul 13 12:16:24 2006
New Revision: 30007
Modified:
pypy/dist/pypy/module/fcntl/__init__.py
pypy/dist/pypy/module/fcntl/app_fcntl.py
Log:
fcntl module doc
Modified: pypy/dist/pypy/module/fcntl/__init__.py
==============================================================================
--- pypy/dist/pypy/module/fcntl/__init__.py (original)
+++ pypy/dist/pypy/module/fcntl/__init__.py Thu Jul 13 12:16:24 2006
@@ -10,6 +10,7 @@
appleveldefs = {
'_conv_descriptor': 'app_fcntl._conv_descriptor',
+ '__doc__': 'app_fcntl.__doc__'
}
def buildloaders(cls):
Modified: pypy/dist/pypy/module/fcntl/app_fcntl.py
==============================================================================
--- pypy/dist/pypy/module/fcntl/app_fcntl.py (original)
+++ pypy/dist/pypy/module/fcntl/app_fcntl.py Thu Jul 13 12:16:24 2006
@@ -6,3 +6,8 @@
return f
else:
raise TypeError, "argument must be an int, or have a fileno() method."
+
+__doc__ = """This module performs file control and I/O control on file
+descriptors. It is an interface to the fcntl() and ioctl() Unix
+routines. File descriptors can be obtained with the fileno() method of
+a file or socket object."""
More information about the Pypy-commit
mailing list