-----Original Message----- From: Martijn Pieters [mailto:mj@antraciet.nl] Sent: Tuesday, July 06, 1999 8:44 AM To: Michel Pelletier; Zope Mailing List (E-mail) Subject: RE: [Zope] Using Zclasses
At 14:22 06/07/99 , Michel Pelletier wrote:
The _ namespace has a hasattr. Quote DocumentTemplate/DT_Util.py:
This variable also has attributes that provide access to standard utility objects. These attributes include:
- The objects: 'None', 'abs', 'chr', 'divmod', 'float', 'hash', 'hex', 'int', 'len', 'max', 'min', 'oct', 'ord', 'pow', 'round', and 'str' from the standard Python builtin module.
So the 'range' method is absent in the documentation.
Uhmm.. well it's absent in the *souce code* but it is documented! doc/CREDITS.txt: o Martijn Pieters chipped in with a safe range function. ;) -Michel
-- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(For developer-specific issues, use the companion list, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Michel Pelletier