News for hackers. Stuff that matters.
Re:A DSL in 5 Languages: Ruby, Python, PHP, C#, Java by koenigdavidmj on Wednesday August 04, 2010 @02:12AM (#1573798)
Python 3 lets you have named keyword arguments too. Anything after the star-args is a named keyword argument, and you can have a simple star if you do not want the argument list:

    def search(foo, bar, *, baz):
Then, foo and bar would be named arguments, and baz would need to be passed by keyword.

There are no comments on this comment yet.