if 2<len(words): #TODO deal with more
raise util.DatalogError("Too many '.' in atom %s" % arg, None, None)
- if words in __builtins__:
- root = __builtins__[words]
+ b = __builtins__ if isinstance(__builtins__, dict) else __builtins__.__dict__ # for pypy
# can't set attributes --> decorate the whole builtin !
locals_[words] = _pyD_decorator(root, copy=True) # don't change builtins !
elif words in locals_: