def __getitem__(self,name):
    item = super(Manifest,self).__getitem__(name)

    if isinstance(item,Manifest) and not item._parent_:
      item._parent_ = self
    elif isinstance(item,str):
      root = self
      while root._parent_: root = root._parent_
      item = root._dict_%item

    return item
dataset/ETHPy150Open azer/jsbuild/jsbuild/manifest.py/Manifest.__getitem__/swapped operands of `%`