Message170878
Nick Coghlan pointed out that a lot of this discussion has already happened for the function signature object PEP [1]. That PEP defines constants
Parameter.POSITIONAL_ONLY
Parameter.POSITIONAL_OR_KEYWORD
Parameter.KEYWORD_ONLY
Parameter.VAR_POSITIONAL
Parameter.VAR_KEYWORD
So the 'positional' in the TypeError messages corresponds to POSITIONAL_OR_KEYWORD.
[1] http://www.python.org/dev/peps/pep-0362/ |
|
Date |
User |
Action |
Args |
2012-09-21 10:46:32 | mark.dickinson | set | recipients:
+ mark.dickinson, gvanrossum, terry.reedy, ezio.melotti, Arfrever, chris.jerdonek, docs@python |
2012-09-21 10:46:32 | mark.dickinson | set | messageid: <1348224392.7.0.409975512166.issue15990@psf.upfronthosting.co.za> |
2012-09-21 10:46:32 | mark.dickinson | link | issue15990 messages |
2012-09-21 10:46:31 | mark.dickinson | create | |
|