pmacs3/global.py

15 lines
239 B
Python
Raw Normal View History

2007-03-06 10:05:38 -05:00
_symbols = {}
def has(name):
return name in _symbols
def get(name):
if name in _symbols:
return _symbols[name]
else:
_symbols[name] = None
return None
def set(name, value):
_symbols[name] = value