消息 [122517]
Yes, list_clear should be called, but no, it cannot be used directly because a method needs a PyObject* return value. So a wrapper method is needed that looks like listappend() does for list.append(). list_copy() will just look like list_slice() with the index fiddling removed. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2010-11-27 10:58:34 | georg.brandl | 修改 | recipients:
+ georg.brandl, rhettinger, terry.reedy, eric.smith, giampaolo.rodola, eric.araujo, eli.bendersky, xuanji |
| 2010-11-27 10:58:34 | georg.brandl | 修改 | messageid: <1290855514.84.0.186940913551.issue10516@psf.upfronthosting.co.za> |
| 2010-11-27 10:58:31 | georg.brandl | 链接 | issue10516 messages |
| 2010-11-27 10:58:31 | georg.brandl | 创建 | |
|