Purpose of all the __all__'s I see in TG2 quickstart skeleton code?

View: New views
2 Messages — Rating Filter:   Alert me  

Purpose of all the __all__'s I see in TG2 quickstart skeleton code?

by Chris Seberino :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Purpose of all the __all__'s I see in TG2 quickstart skeleton code?

The __all__ variable is set to various things in lots of places.

Not sure what the magic going on here is.

Any help appreciated.

cs
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbogears@...
To unsubscribe from this group, send email to turbogears+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Purpose of all the __all__'s I see in TG2 quickstart skeleton code?

by Christopher Arndt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Chris Seberino wrote:
> Purpose of all the __all__'s I see in TG2 quickstart skeleton code?
>
> The __all__ variable is set to various things in lots of places.
>
> Not sure what the magic going on here is.

Google "Python __all__",the first hit explains this. It's no TG-specific
thing.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbogears@...
To unsubscribe from this group, send email to turbogears+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---