[Schevo-devel] Re: myfield = f.entity(ANY)

Matthew Scott mscott at springfieldtech.com
Fri Feb 24 11:46:13 EST 2006


Matthew Scott wrote:
>   foo = f.entity()                  # raises an exception
>   foo = f.entity(allow_any=True)    # allows any entity type


Looking at the subject line of this thread closer, I do like
f.entity(ANY) because it's equivalent to f.entity(allow=ANY).

I'll probably make this change today.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://schevo.org/lists/archives/schevo-devel/attachments/20060224/bddabd23/signature.pgp


More information about the Schevo-devel mailing list