This commit is contained in:
Raymond Hettinger 2013-05-03 02:41:02 -07:00
commit 4072875dcb
3 changed files with 6 additions and 0 deletions

View file

@ -281,6 +281,10 @@ class {typename}(tuple):
'Return self as a plain tuple. Used by copy and pickle.'
return tuple(self)
def __getstate__(self):
'Exclude the OrderedDict from pickling'
return None
{field_defs}
'''