On 1/16/2011 12:59 PM, Zeynel wrote:
What does vote.vote refer to in this snippet?

"vote" is an instance of the Vote class, and "vote.vote" is the value of the "vote" attribute on that instance. In this case, that will be an int.

More precisely, "vote.vote" is a value managed by the "vote" descriptor on the "Vote" class, a Google App Engine IntegerProperty.

Cheers,
Ian

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to