R. David Murray <rdmur...@bitdance.com> added the comment: The docs are correct in Python3.
The docs for Python2 are not *wrong*, since they indicate only positional parameters and if you use positional parameters it works as documented. (I'm surprised that using keyword arguments works, but I haven't looked at the code.) Fixing the names in the 2.7 docs would still be helpful (2.6 docs don't get updated any more). ---------- nosy: +r.david.murray priority: normal -> low stage: -> needs patch title: 2.6.6 documentation of the open() built-in function -> Python2 documentation of the open() built-in function type: -> behavior versions: +Python 2.7 -Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12642> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com