Valentine Sinitsyn added the comment: Yes, strings aren't an issue. I only used them as an example.
I came across this issue during code review, discussing if it is okay to pass generator expression to sum() (like sum(x*2 for x in xrange(5)) or is it better to convert it to the list first (sum([x*2 for x in xrange(5)])). Both variants work so docstring is sort of specification here. Surely, it's not a high priority task anyways. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23787> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com