[Zope-dev] Passing parameters to __str__
Itamar Shtull-Trauring
itamars@ibm.net
Mon, 15 Nov 1999 18:41:48 +0200
I'm trying to have an object that returns different data based on if it's
called from <dtml-var> or on its own, so I defined a __str__ function.
I need to pass REQUEST to __str__, but apparently __str__ doesn't get any
parameters passed when it gets called. How do I correct this?
--
Itamar - itamars@ibm.net
---------------------------o----------------------------------------------o
Perl/Gimp Greeting Cards | Trust? Ha! The US dollar is backed by ICBMs! |
http://www.sealingwax.com | --Anonymous Coward, Slashdot |