Message241590
When a parameter is optional but does not have a simple default value, I suggest using some obviously invalid pseudocode, such as
function(arg1, arg2=<automatic, see text>)
See Issue 8706 about adding more support for keyword arguments. See also Issue 23738 for signatures that incorrectly appear to accept keywords due to including default values, and PEP 457’s slash (/) indicator for documenting positional-only parameters. |
|
Date |
User |
Action |
Args |
2015-04-20 02:25:31 | martin.panter | set | recipients:
+ martin.panter, georg.brandl, terry.reedy, eric.smith, ezio.melotti, eric.araujo, chris.jerdonek, docs@python, eric.snow, baptiste.carvello, petri.lehtinen |
2015-04-20 02:25:31 | martin.panter | set | messageid: <1429496731.21.0.238462293514.issue13386@psf.upfronthosting.co.za> |
2015-04-20 02:25:31 | martin.panter | link | issue13386 messages |
2015-04-20 02:25:31 | martin.panter | create | |
|