Éric Araujo <mer...@netwok.org> added the comment: +1. This is a small but nice improvement for the added readability and foremost for the removal of obscure code (testing for varargs is easier to understand than “if co_flags & 0x4”).
(“"=%r" % (name,)” reminds me I never remember to protect my RHS with %-formatting, good job :) I wonder about the name “name”, since we’re looping other default values here.) ---------- nosy: +eric.araujo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10193> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com