Martin Panter <vadmium...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue33300>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to