]> granicus.if.org Git - python/commitdiff
Closes #18272: use 'builtins' for 3.3 instead of __builtin__
authorAndrew Kuchling <amk@amk.ca>
Fri, 21 Jun 2013 01:17:41 +0000 (21:17 -0400)
committerAndrew Kuchling <amk@amk.ca>
Fri, 21 Jun 2013 01:17:41 +0000 (21:17 -0400)
Doc/library/imp.rst
Doc/library/itertools.rst

index 7d4bf4facf895fb1ff4cc215519ea64d2310cb20..af98489b6de2d5fcb96dce8eacc39758bae02d32 100644 (file)
@@ -158,7 +158,7 @@ This module provides an interface to the mechanisms used to implement the
           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.
 
index 7099fa031b9f48603ac75943e2f94a7d4353138d..a0745d77ee5f9ac579331df1d99d151df952e443 100644 (file)
@@ -762,7 +762,7 @@ which incur interpreter overhead.
        """ 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: