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.
Created on 2011年07月25日 00:26 by py.user, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg141066 - (view) | Author: py.user (py.user) * | Date: 2011年07月25日 00:26 | |
4.6.4 Mutable Sequence Types | s.remove(x) | same as del s[s.index(x)] | >>> b = bytearray() >>> b.extend(range(1, 6)) >>> b bytearray(b'\x01\x02\x03\x04\x05') >>> b.remove(2) >>> del b[b.index(2)] Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: Type int doesn't support the buffer API >>> |
|||
| msg141218 - (view) | Author: Petri Lehtinen (petri.lehtinen) * (Python committer) | Date: 2011年07月27日 10:45 | |
Duplicate of issue 12170. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:20 | admin | set | github: 56840 |
| 2011年08月01日 06:46:31 | petri.lehtinen | set | status: open -> closed |
| 2011年07月27日 10:45:14 | petri.lehtinen | set | superseder: index() and count() methods of bytes and bytearray should accept byte ints messages: + msg141218 nosy: + petri.lehtinen |
| 2011年07月25日 00:26:57 | py.user | set | type: behavior |
| 2011年07月25日 00:26:29 | py.user | create | |