List Info

Thread: classes with __init__(self) in cherrypy?




classes with __init__(self) in cherrypy?
country flaguser name
United States
2007-03-09 19:21:24
I was looking at Example 3.1 here:

http://www.cherrypy.org/chrome/common/2.2/doc
s/book/chunk/ch03.html


and I noticed that all the classes lack an __init__()
method

and was wondering what exactly was going on in a line like
this:

cherrypy.root = Root()

in terms of what is being called behind the scenes and how
it is done.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )