[Zope-dev] Where is has() defined?

Evan Simpson evan@4-am.com
Wed, 05 Sep 2001 12:09:13 -0400


Kyler B. Laird wrote:

> I'm trying to read 
> 	python/Products/PageTemplates/Expressions.py
> and
> 	python/OFS/Traversable.py
> but I am at a loss for the definition of has().

Just add "has=hasattr" right after "get=getattr" (line 145 of 
Traversable.py).

Sorry,

Evan @ Zope