[py-svn] r37736 - py/trunk/py/io

hpk at codespeak.net hpk at codespeak.net
Thu Feb 1 15:35:07 CET 2007


Author: hpk
Date: Thu Feb  1 15:35:07 2007
New Revision: 37736

Modified:
   py/trunk/py/io/dupfile.py
Log:
cosmetic docstring change


Modified: py/trunk/py/io/dupfile.py
==============================================================================
--- py/trunk/py/io/dupfile.py	(original)
+++ py/trunk/py/io/dupfile.py	Thu Feb  1 15:35:07 2007
@@ -4,8 +4,8 @@
 def dupfile(f, mode=None, buffering=0, raising=False): 
     """ return a new open file object that's a duplicate of f
 
-        mode is duplicated if not given, buffering controls 
-        buffer size (defaulting to no buffering) and raising
+        mode is duplicated if not given, 'buffering' controls 
+        buffer size (defaulting to no buffering) and 'raising'
         defines whether an exception is raised when an incompatible
         file object is passed in (if raising is False, the file
         object itself will be returned)



More information about the pytest-commit mailing list