Updated __builtns__

This commit is contained in:
itdominator 2021-10-10 23:33:58 -05:00
parent 9126d0a5ec
commit 61901f5c28

View File

@ -1,6 +1,13 @@
import builtins
class Builtins:
def hello_world():
print("Hello, world!")
def hello_user():
print("Hello, user!")
# NOTE: There areto ways to add global items. like so.
builtins.hello_user = hello_user
__builtins__.update({"hello_world": hello_world})