[docs] [issue18301] In itertools.chain.from_iterable() there is no cls argument
R. David Murray
report at bugs.python.org
Tue Jun 25 22:35:31 CEST 2013
R. David Murray added the comment:
It is implemented as a classmethod, but the "equivalent" code doesn't need to be part of the class all. I'm not sure what should be done here (say @staticmethod? Leave the decorator off?). We should probably see what Raymond thinks. I lean toward the latter, that's the way it is in the python2 docs, and it doesn't seem to have caused any confusion.
----------
nosy: +r.david.murray, rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18301>
_______________________________________
More information about the docs
mailing list