News for hackers. Stuff that matters.
Re:Python 3 Features by sourpoi on Monday June 30, 2014 @05:14AM (#7964277)
Slight typo - the sample replacement should read:

  def wat(*args)
    a, b, *args = args
..But I don't see how moving required arguments from the signature to the body (or turning a TypeError into a ValueError) might be useful, or how it differs from the presentation's first advanced unpacking example.

There are no comments on this comment yet.