[docs] Bug in http://docs.python.org/py3k/library/io.html#

bob gailer bgailer at gmail.com
Sun Jul 18 03:17:05 CEST 2010


Under 15.2.1 - io.open it says: "/file/ is either a string or bytes 
object giving the name (and the path if the file isn't in the current 
working directory)"

Inaccurate in that you can provide the path even if the file is in the 
current working directory.

Better: "/file/ is either a string or bytes object giving either the 
filename or path + filename . If just the filename is given the current 
working directory is the path."

-- 
Bob Gailer
919-636-4239
Chapel Hill NC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20100717/515f56c3/attachment.html>


More information about the docs mailing list