Implement __reduce__ in StructValue class

pull/10064/head
Tidiane Dia 2023-02-08 10:49:16 +00:00 zatwierdzone przez Matt Westcott
rodzic fc09a2cedf
commit 8a78a51066
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -70,6 +70,9 @@ class StructValue(collections.OrderedDict):
]
)
def __reduce__(self):
return (self.__class__, (self.block,), None, None, iter(self.items()))
class PlaceholderBoundBlock(BoundBlock):
"""