On Tue, Jun 28, 2011 at 9:38 AM, Jim Dalton <jim.dal...@gmail.com> wrote:
> "In fact, even functions without a return statement do return a value, > albeit a rather boring one. This value is called None (it’s a built-in > name). Writing the value None is normally suppressed by the interpreter if > it would be the only value written." I guess I did know that at some point, but many many years of writing C code instilled a lot of caution about falling off the end of functions without explicitly returning something. C is not so forgiving as to guarantee a specific value in such cases. Even though Python guarantees it, I think explicit in these cases is better. But that could just be due to my background. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.