
April 17, 2018
3:52 p.m.
Martin Panter <vadmium+py@gmail.com> added the comment: 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. ---------- nosy: +martin.panter superseder: -> Document '/' in signatures _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue33300> _______________________________________