diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-23 02:49:51 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-23 02:49:51 (GMT) |
commit | 30364204d3caf04b13264a750b34555072b32e33 (patch) | |
tree | 855fddc99b2ba334020fac8c08692bb92d235ebf /Doc | |
parent | 52c3bf1aa568c73631abcb34de792aec61a75931 (diff) | |
download | cpython-30364204d3caf04b13264a750b34555072b32e33.zip cpython-30364204d3caf04b13264a750b34555072b32e33.tar.gz cpython-30364204d3caf04b13264a750b34555072b32e33.tar.bz2 |
more about the file type's death #5513
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.0.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst index 82f32ca..9434573 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` |