Updated __builtns__
This commit is contained in:
parent
9126d0a5ec
commit
61901f5c28
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue