[issue10193] Simplify instrospection used by turtle module
Éric Araujo
report at bugs.python.org
Wed Oct 27 14:10:29 CEST 2010
Éric Araujo <merwok at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10193>
_______________________________________
More information about the Python-bugs-list
mailing list