@expose is a Python decorator:

http://soiland.no/software/decorator

They were introduced in Python 2.4

You can probably synthesise an equivalent in your controllers, as per
the above URL.  I don't know what else (internally) in TG uses
decorators, however.  2.4 might be required.

Stuart


On Wed, 2006-10-18 at 16:43 -0700, John Henry wrote:
> I see lots of this "@expose" thing in the TurboGear tutorial.  Is this
> a Python 2.4 feature?  I try to google for it and don't seem to come up
> with specific hit..
> 
> Does that mean using 2.3 is out of the question?
> 
> I am not using 2.4 yet because there are still issues using my ap under
> 2.4.
> 
> Thanks,
> 
> 
> > 
> 
-- 
Stuart Clarke <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to