Message309588
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. |
|
Date |
User |
Action |
Args |
2018-01-06 22:54:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, docs@python, mgorny |
2018-01-06 22:54:16 | serhiy.storchaka | set | messageid: <1515279256.08.0.467229070634.issue32500@psf.upfronthosting.co.za> |
2018-01-06 22:54:16 | serhiy.storchaka | link | issue32500 messages |
2018-01-06 22:54:16 | serhiy.storchaka | create | |
|