温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有

[C API] PyList_Extend() must not shrink the list · Issue #162894 · python/cpython · GitHub

来源:github.com

Bug report The PyList_New(n) function has a parameter to preallocate items to build a list in an efficient way. An usual way to use is to call PyList_New(n) to preallocate n items and then call Py_SET_SIZE(list, 0) to se…

以上为公开页面信息摘要,完整内容请前往原网站阅读。

前往原网站阅读全文

热门推荐记录