[Zope] data type

Andreas Jung lists at zopyx.com
Mon Jun 19 08:22:07 EDT 2006



--On 19. Juni 2006 15:11:42 +0300 George <tesseris at gmail.com> wrote:

> How can I find a variable's data type in dtml?
>
> Sorry if it's sth obvious, thx in advance!


There is only the same_type() method available. Perhaps instance() but
you can't use the type() method of Python for security reasons.
The Zope Book should explain the usage of same_type().

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060619/36c8768e/attachment.bin


More information about the Zope mailing list