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 serhiy.storchaka
Recipients docs@python, gvanrossum, mgorny, serhiy.storchaka
Date 2018-01-06.22:54:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515279256.08.0.467229070634.issue32500@psf.upfronthosting.co.za>
In-reply-to
Content
Note that many other PySequence_* functions support only sequences. For example PySequence_Count(o1, o2) is the equivalent of the Python expression o1 + o2 only if o1 is a sequence. If pass integer objects to PySequence_Count() it will return an error.

I would remove "do not" from the documentation. Or even the whole "For objects that do not provide sequence protocol" since this is implied.
History
Date User Action Args
2018-01-06 22:54:16serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, docs@python, mgorny
2018-01-06 22:54:16serhiy.storchakasetmessageid: <1515279256.08.0.467229070634.issue32500@psf.upfronthosting.co.za>
2018-01-06 22:54:16serhiy.storchakalinkissue32500 messages
2018-01-06 22:54:16serhiy.storchakacreate