What is the difference between __builtins__ and __builtin__? #13
Answered
by
lukasmiller3
lukasmiller1
asked this question in
Q&A
-
|
What is the difference between builtins and builtin? |
Beta Was this translation helpful? Give feedback.
Answered by
lukasmiller3
Jan 22, 2026
Replies: 1 comment
-
|
A:builtins is a reference to the built-in module (lowercase in Python 3, builtin in Python 2). It's automatically available in all modules. In Python 3, it's the same as |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lukasmiller1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A:builtins is a reference to the built-in module (lowercase in Python 3, builtin in Python 2). It's automatically available in all modules. In Python 3, it's the same as
builtinsmodule. It contains all built-in functions and exceptions.