Kaydet (Commit) 30364204 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

more about the file type's death #5513

üst 52c3bf1a
......@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment