From 16fae5ed73f9924db3a0aa16e40947e90242b8a5 Mon Sep 17 00:00:00 2001 From: hpk Date: Thu, 1 Feb 2007 15:35:07 +0100 Subject: [PATCH] [svn r37736] cosmetic docstring change --HG-- branch : trunk --- py/io/dupfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/io/dupfile.py b/py/io/dupfile.py index d272ce42d..daaf26a57 100644 --- a/py/io/dupfile.py +++ b/py/io/dupfile.py @@ -4,8 +4,8 @@ import os 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)