]> granicus.if.org Git - python/commit
two changes to string_join:
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 10 Jul 2000 21:30:28 +0000 (21:30 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 10 Jul 2000 21:30:28 +0000 (21:30 +0000)
commit194e43e9533b0441b4f5d680f1d0c77e20297a34
tree77aa1710f4f3819fd1036a8d164a9e666d4be0c2
parent663809ed830ac84f9c6fe94ad7c2a3cc302d0680
two changes to string_join:

implementation -- use PySequence_Fast interface to iterate over elements
interface -- if instance object reports wrong length, ignore it;
   previous version raised an IndexError if reported length was too high
Objects/stringobject.c