Issue12631
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) * ![]() |
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 |
| 2011-07-25 00:26:57 | py.user | set | type: behavior |
| 2011-07-25 00:26:29 | py.user | create | |
