mirror of
https://github.com/Relintai/gdnative_python.git
synced 2024-11-12 10:25:08 +01:00
13 lines
222 B
Python
13 lines
222 B
Python
|
from _godot import __global_constants
|
||
|
|
||
|
|
||
|
def __getattr__(name):
|
||
|
try:
|
||
|
return __global_constants[name]
|
||
|
except KeyError:
|
||
|
raise AttributeError
|
||
|
|
||
|
|
||
|
def __dir__():
|
||
|
return list(__global_constants.keys())
|