On Wed, Feb 24, 2010 at 12:58 PM, Greg Milby <[email protected]> wrote: > the yeild question is a very good point... the cherrypy chat guys use that > method OFTEN... really didn't think it was a webpy 'thing' - is it?
GET and POST are methods. And as such, I think it makes perfect sense we ``return`` stuff. I hope the OP meant that. AFAIK, yield is used in generators: "The yield statement is only used when defining a generator function, and is only used in the body of the generator function." (http://docs.python.org/reference/simple_stmts.html#grammar-token-yield_stmt) -- Branko Vukelić http://foxbunny.tumblr.com/ http://www.flickr.com/photos/16889...@n04/ http://www.twitter.com/foxbunny http://github.com/foxbunny -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
