[issue2735] range: lean and mean
Alexander Belopolsky
report at bugs.python.org
Fri May 2 19:31:16 CEST 2008
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
One more nit: you don't need to zero out trailing range_as_sequence
members explicitly.
static PySequenceMethods range_as_sequence = {
(lenfunc)range_length, /* sq_length */
};
should be enough.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2735>
__________________________________
More information about the Python-bugs-list
mailing list