Python - Builtin Function

> Procedural Languages > Python > Python - Grammar (Package | Module)

1 - About

Builtin function are function that doesn't need an import statement.

Advertising

3 - Namespace

The builtins namespace associated with the execution of a code block is actually found by looking up the name __builtins__ in its global namespace

By default, when in the __main__ module, __builtins__ is the built-in module builtins; when in any other module, __builtins__ is an alias for the dictionary of the builtins module itself.

4 - Documentation / Reference