On Tue, 2006-04-11 at 10:47 +0400, Oleg Broytmann wrote: > On Tue, Apr 11, 2006 at 12:58:47AM -0400, Kendall Clark wrote: > > Hmm. Tastes vary, obviously. I don't consider using ? to signal > > boolean returning functions or methods to be random. > > They look ugly in expressions: > > if python.has_punctuation?() and someone.uses_it_often?: > print "Please don't do it!" > > PS. .uses_it_often? is an attribute, not a function here...
That's what _p suffix is for. :) -Barry
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com