On Thursday 21 June 2007, Joel Bender wrote: > I think this is clearer than sum(): > >>> join(['a', 'b', 'c']) > 'abc' > > It wouldn't interfere with ''.join(), and ''.__add__() could be > redirected to ''.__join__().
And then int.__join__ could be defined in confusing ways, too: >>> join([4, 2]) 42 There's something appealing about that specific example. ;-) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org> _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
