Michael Chermside wrote: > Guido writes: > >>I've always wanted to write that as >> >> f(a, b, *args, foo=1, bar=2, **kwds) >> >>but the current grammar doesn't allow it. > > > Hmm.... why doesn't the current grammar allow it, and can we fix that? > I don't see that it's a limitation of the one-token-lookahead, could > we permit this syntax by rearanging bits of the grammer? I griped about this a while back, and got the impression from Guido that fixing it was possible, but it had simply never bugged anyone enough for them to actaully get around to fixing it. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia --------------------------------------------------------------- http://boredomandlaziness.blogspot.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4