[Zope] Bug in the doc or I missed something
zope-mailinglist at mopa.at
Thu Oct 23 10:56:39 EDT 2003
Gilles Lenfant wrote:
> The zope help in the API/ObjectManagerItem section mentions the
> "getPhysicalRoot()" that returns the zope root object.
> In a Python script...
> x = anyobject.getPhysicalRoot()
> ...raises an AttributeError, but...
> x = anyObject.getPhysicalPath()
> ...works perfectly. When bot methods are supposed to be provided by the same
> base class !!!
> Did I miss something or does the help mention a deprecated method (I noticed
> the problem on 2.6.1 and 2.6.2, I have no older version to check)
> Thanks in advance.
> Zope maillist - Zope at zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
getPhysicalRoot is only available in python product code, see the API
Returns the top-level Zope Application object.
More information about the Zope