]> granicus.if.org Git - python/commitdiff
more about the file type's death #5513
authorBenjamin Peterson <benjamin@python.org>
Mon, 23 Mar 2009 02:49:51 +0000 (02:49 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 23 Mar 2009 02:49:51 +0000 (02:49 +0000)
Doc/whatsnew/3.0.rst

index 82f32cac5d0f8fe4d499b5a2c8321888d7f2b0d0..943457312f635eb6361741d8b0e7c377e73f3b2c 100644 (file)
@@ -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`