On Mon, Jul 4, 2011 at 12:03 PM, Phil Young <[email protected]> wrote:
>   if words.count() > 5:
>     blah blah

if words.count(6) > 5:
    blah blah

A slightly more efficient count.

-- 
Branko Vukelić
[email protected]

Lead Developer
Herd Hound (tm) - Travel that doesn't bite
www.herdhound.com

Love coffee? You might love Loveffee, too.
loveffee.appspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to