Message309588
| 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: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 | |