diff options
author | Raymond Hettinger <python@rcn.com> | 2013-05-03 09:41:02 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-05-03 09:41:02 (GMT) |
commit | 4072875dcbdd60d27ec406eb3abe74f41c1be158 (patch) | |
tree | fcc7ea20ad79ddcc8d5098d77958983e581ee393 /Lib/collections/__init__.py | |
parent | 865eaa1b53b7f87e13e07f0e96c5659edf003ab1 (diff) | |
parent | b98dcc1f5307789c3c42af701f81147e240b90ff (diff) | |
download | cpython-4072875dcbdd60d27ec406eb3abe74f41c1be158.zip cpython-4072875dcbdd60d27ec406eb3abe74f41c1be158.tar.gz cpython-4072875dcbdd60d27ec406eb3abe74f41c1be158.tar.bz2 |
merge
Diffstat (limited to 'Lib/collections/__init__.py')
-rw-r--r-- | Lib/collections/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index ca92c3c..e7441d2 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -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} ''' |