Hi!
This time I need some specialists to help ...
Here is some code from ZBabel Objects. ZBabel objects are folders that hold
localized versions of anything you want to internationalize and pass getting
attributes and calling objects to one of these localized versions depending
on your language
Joachim Werner wrote:
class Rewrapper(Base):
def __init__(self, path):
self._path = path
def __of__(self, parent):
ob = parent
for p in self._path:
ob = getattr(ob, p) = HERE WE GET A RECURSION ERROR
return ob
OK,
I think this is
Doesn't seem to make any difference :-(
What does that option do?
class Rewrapper(Base):
def __init__(self, path):
self._path = path
def __of__(self, parent):
ob = parent
for p in self._path:
ob = getattr(ob, p) = HERE WE GET A