Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1d7d580

Browse files
committed
Closes #18272: use 'builtins' for 3.3 instead of __builtin__
1 parent 2151fc6 commit 1d7d580

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/imp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ This module provides an interface to the mechanisms used to implement the
158158
cache = {}
159159

160160
It is legal though generally not very useful to reload built-in or dynamically
161-
loaded modules, except for :mod:`sys`, :mod:`__main__` and :mod:`__builtin__`.
161+
loaded modules, except for :mod:`sys`, :mod:`__main__` and :mod:`builtins`.
162162
In many cases, however, extension modules are not designed to be initialized
163163
more than once, and may fail in arbitrary ways when reloaded.
164164

Doc/library/itertools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ which incur interpreter overhead.
762762
""" Call a function repeatedly until an exception is raised.
763763

764764
Converts a call-until-exception interface to an iterator interface.
765-
Like __builtin__.iter(func, sentinel) but uses an exception instead
765+
Like builtins.iter(func, sentinel) but uses an exception instead
766766
of a sentinel to end the loop.
767767

768768
Examples:

0 commit comments

Comments
 (0)