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

Clarification in the `__slots__` documentation · Issue #100315 · python/cpython · GitHub

来源:github.com

Documentation https://docs.python.org/3/reference/datamodel.html#notes-on-using-slots One of the bulletpoints: Nonempty slots does not work for classes derived from “variable-length” built-in types such as int, bytes and…

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

前往原网站阅读全文

热门推荐记录