News for hackers. Stuff that matters.
Re:Static types in Python by clusmore on Friday October 14, 2016 @07:14AM (#12707323)
Actually Python does explicitly reject strings.

  >>> sum(['hello', ' world'], '')
  TypeError: sum() can't sum strings [use ''.join(seq) instead]
But this is done explicitly against strings. They would _just work_ if not for this restriction, because based on usage they should work.

There are no comments on this comment yet.