Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
27a16bc4
Commit
27a16bc4
authored
Nov 19, 2002
by
Just van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to import __builtin__, spotted by Skip.
parent
663bdca0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Mac/Lib/plistlib.py
Mac/Lib/plistlib.py
+4
-4
No files found.
Mac/Lib/plistlib.py
View file @
27a16bc4
...
@@ -387,10 +387,10 @@ if sys.version_info[:2] < (2, 3):
...
@@ -387,10 +387,10 @@ if sys.version_info[:2] < (2, 3):
True
=
bool
(
1
)
True
=
bool
(
1
)
False
=
bool
(
0
)
False
=
bool
(
0
)
else
:
else
:
import
__builtin__
# Bind the boolean builtins to local names
True
=
__builtin__
.
True
True
=
True
False
=
__builtin__
.
False
False
=
False
bool
=
__builtin__
.
bool
bool
=
bool
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment