O'Reilly logo
  • Bill Levien thinks this is interesting:

In the preceding code, take a look at **parts. This is a keyword argument. It extracts the keys and values from the parts dictionary and supplies them as arguments to Duck(). It has the same effect as:


Cover of Introducing Python


Named Tuple