[Zope] Shallow copies/links/references

Joachim Werner joe@iuveno-net.de
Wed, 8 Aug 2001 22:13:09 +0200


> >         linkAsList = string.split(self.link, '/')
> >         object = self.restrictedTraverse(linkAsList)
>
> restrictedTraverse does the split itself if it receives a string, you
> don't need to do it yourself :)

Thanks!

I just wasn't sure about that yet when I wrote those lines in the middle of
the night ;-)

Joachim