I was asked to add some feature to the code originally written by other guys.
There is a python code defines a function which overwrites the build in
>>> import __builtin__ >>> __builtin__.open <built-in function open>
>>> import builtins >>> builtins.open <built-in function open>
From the docs:
CPython implementation detail: Users should not touch
__builtins__; it is strictly an implementation detail. Users wanting to override values in the
builtinsnamespace should import the
__builtin__(no ‘s’) module and modify its attributes appropriately.