提交 7c70a9ba authored 作者: Frederic's avatar Frederic

Add comment

上级 1a6ba24e
...@@ -44,6 +44,8 @@ if MutableSet is not None: ...@@ -44,6 +44,8 @@ if MutableSet is not None:
import weakref import weakref
class Link(object): class Link(object):
# This make that we need to use a different pickle protocol
# then the default. Othewise, there is pickling errors
__slots__ = 'prev', 'next', 'key', '__weakref__' __slots__ = 'prev', 'next', 'key', '__weakref__'
def __getstate__(self): def __getstate__(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论