This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gneff
Recipients docs@python, gneff
Date 2018-04-17.20:02:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523995335.26.0.682650639539.issue33300@psf.upfronthosting.co.za>
In-reply-to
Content
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.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> help(id)
Help on built-in function id in module builtins:

id(obj, /)
    Return the identity of an object.

    This is guaranteed to be unique among simultaneously existing objects.
    (CPython uses the object's memory address.)

>>>
History
Date User Action Args
2018-04-17 20:02:15gneffsetrecipients: + gneff, docs@python
2018-04-17 20:02:15gneffsetmessageid: <1523995335.26.0.682650639539.issue33300@psf.upfronthosting.co.za>
2018-04-17 20:02:15gnefflinkissue33300 messages
2018-04-17 20:02:15gneffcreate