2011/10/21 Eric V. Smith <e...@trueblade.com>: > On 10/21/2011 12:31 PM, Benjamin Peterson wrote: >> 2011/10/21 Eric V. Smith <e...@trueblade.com>: >>> What's the logic for adding some braces, but removing others? >> >> No braces if everything is a one-liner, otherwise braces everywhere. > > Not sure what "everything" means here. My specific question is why > braces were added here: > - if (tb == Py_None) > + if (tb == Py_None) { > tb = NULL; > + }
Because an else if follows it. -- Regards, Benjamin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com