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

Cannot specify `weakref_slot=True` twice in dataclass MRO · Issue #93521 · python/cpython · GitHub

来源:github.com

Summary If a child dataclass of a parent dataclass who specified weakref_slot, also decides to set weakref_slot to True, Python will raise a TypeError as seen below: TypeError: __weakref__ slot disallowed: either we alre…

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

前往原网站阅读全文

热门推荐记录