[Python-3000] PEP3102 Keyword-Only Arguments (original) (raw)
Jiwon Seo seojiwon at gmail.com
Sat Aug 12 01:20:20 CEST 2006
- Previous message: [Python-3000] Draft pre-PEP: function annotations
- Next message: [Python-3000] PEP3102 Keyword-Only Arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When we have keyword-only arguments, do we allow 'keyword dictionary' argument? If that's the case, where would we want to place keyword-only arguments?
Are we going to allow any of followings?
- def foo(a, b, *, key1=None, key2=None, **map)
- def foo(a, b, *, **map, key1=None, key2=None)
- def foo(a, b, *, **map)
-Jiwon
- Previous message: [Python-3000] Draft pre-PEP: function annotations
- Next message: [Python-3000] PEP3102 Keyword-Only Arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]