[Python-checkins] cpython (3.3): Closes #18272: use 'builtins' for 3.3 instead of __builtin__

andrew.kuchling python-checkins at python.org
Fri Jun 21 03:19:29 CEST 2013


http://hg.python.org/cpython/rev/b805506b11e0
changeset:   84230:b805506b11e0
branch:      3.3
parent:      84226:1dbbed06a163
user:        Andrew Kuchling <amk at amk.ca>
date:        Thu Jun 20 21:17:41 2013 -0400
summary:
  Closes #18272: use 'builtins' for 3.3 instead of __builtin__

files:
  Doc/library/imp.rst       |  2 +-
  Doc/library/itertools.rst |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst
--- a/Doc/library/imp.rst
+++ b/Doc/library/imp.rst
@@ -158,7 +158,7 @@
           cache = {}
 
    It is legal though generally not very useful to reload built-in or dynamically
-   loaded modules, except for :mod:`sys`, :mod:`__main__` and :mod:`__builtin__`.
+   loaded modules, except for :mod:`sys`, :mod:`__main__` and :mod:`builtins`.
    In many cases, however, extension modules are not designed to be initialized
    more than once, and may fail in arbitrary ways when reloaded.
 
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst
--- a/Doc/library/itertools.rst
+++ b/Doc/library/itertools.rst
@@ -762,7 +762,7 @@
        """ Call a function repeatedly until an exception is raised.
 
        Converts a call-until-exception interface to an iterator interface.
-       Like __builtin__.iter(func, sentinel) but uses an exception instead
+       Like builtins.iter(func, sentinel) but uses an exception instead
        of a sentinel to end the loop.
 
        Examples:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list