[issue7116] str.join() should be documented as taking an iterable

2009-10-14 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r75418. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue7116] str.join() should be documented as taking an iterable

2009-10-12 Thread Jess Austin
Changes by Jess Austin : -- keywords: +patch Added file: http://bugs.python.org/file15111/jointakesiterables.diff ___ Python tracker ___ __

[issue7116] str.join() should be documented as taking an iterable

2009-10-12 Thread Jess Austin
New submission from Jess Austin : In its __doc__ string and in the documentation, str.join() is described as taking a sequence. This is not general enough; it actually takes any iterable of strings: >>> ','.join(str(x) for x in range(5)) '0,1,2,3,4' Maybe this is a small nit to pick, b