Message170878
| Author |
mark.dickinson |
| Recipients |
Arfrever, chris.jerdonek, docs@python, ezio.melotti, gvanrossum, mark.dickinson, terry.reedy |
| Date |
2012年09月21日.10:46:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348224392.7.0.409975512166.issue15990@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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/ |
|