From: Benjamin Peterson Date: Mon, 23 Mar 2009 02:54:05 +0000 (+0000) Subject: Merged revisions 70536 via svnmerge from X-Git-Tag: 3.0~299 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19764aa7ba153e88ba9729a12d73b3ff00a0bfc5;p=thirdparty%2FPython%2Fcpython.git Merged revisions 70536 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r70536 | benjamin.peterson | 2009-03-22 21:49:51 -0500 (Sun, 22 Mar 2009) | 1 line more about the file type's death #5513 ........ --- diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index fcdca0444dfb..ba9afe824815 100644 --- a/Doc/whatsnew/3.0.rst +++ b/Doc/whatsnew/3.0.rst @@ -813,7 +813,8 @@ Builtins * Removed :func:`execfile`. Instead of ``execfile(fn)`` use ``exec(open(fn).read())``. -* Removed :class:`file`. Use :func:`open`. +* Removed the :class:`file` type. Use :func:`open`. There are now several + different kinds of streams that open can return in the :mod:`io` module. * Removed :func:`reduce`. Use :func:`functools.reduce` if you really need it; however, 99 percent of the time an explicit :keyword:`for`