Message315416
| Author |
martin.panter |
| Recipients |
docs@python, gneff, martin.panter |
| Date |
2018年04月17日.20:52:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1523998325.02.0.682650639539.issue33300@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It is supposed to be a function signature, similar to the syntax when you define your own function, rather than a usage example of calling the function.
In this case, the slash notation is described by PEP 457. It is supposed to indicate that "obj" is a positional-only parameter, and not a keyword parameter. If that is what you think is incorrect, perhaps you can suggest a place to explain the notation in Issue 21314. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年04月17日 20:52:05 | martin.panter | set | recipients:
+ martin.panter, docs@python, gneff |
| 2018年04月17日 20:52:05 | martin.panter | set | messageid: <1523998325.02.0.682650639539.issue33300@psf.upfronthosting.co.za> |
| 2018年04月17日 20:52:04 | martin.panter | link | issue33300 messages |
| 2018年04月17日 20:52:04 | martin.panter | create |
|