mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#1535: rename __builtin__ module to builtins.
This commit is contained in:
parent
87f9c53937
commit
1a3284ed69
70 changed files with 246 additions and 247 deletions
|
@ -65,7 +65,7 @@ except ImportError:
|
|||
# from tarfile import *
|
||||
__all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError"]
|
||||
|
||||
from __builtin__ import open as _open # Since 'open' is TarFile.open
|
||||
from builtins import open as _open # Since 'open' is TarFile.open
|
||||
|
||||
#---------------------------------------------------------
|
||||
# tar constants
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue