[issue33300] Bad usage example in id() DocString

2020-10-31 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue33300] Bad usage example in id() DocString

2018-08-11 Thread Martin Panter
Change by Martin Panter : -- resolution: -> duplicate status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue33300] Bad usage example in id() DocString

2018-04-17 Thread Martin Panter
Martin Panter 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 positi

[issue33300] Bad usage example in id() DocString

2018-04-17 Thread Glen Neff
New submission from Glen Neff : The DocString for id() in 3.5.x & 3.6.x seems to have an incorrect usage example, specifically ``id(obj, /)``. This is present in 3.5.x & 3.6.x. It does not appear to be present in 2.7.x or 3.4.x.: Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.19