summaryrefslogtreecommitdiffstats
path: root/Lib/collections
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-05-03 09:41:02 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-05-03 09:41:02 (GMT)
commit4072875dcbdd60d27ec406eb3abe74f41c1be158 (patch)
treefcc7ea20ad79ddcc8d5098d77958983e581ee393 /Lib/collections
parent865eaa1b53b7f87e13e07f0e96c5659edf003ab1 (diff)
parentb98dcc1f5307789c3c42af701f81147e240b90ff (diff)
downloadcpython-4072875dcbdd60d27ec406eb3abe74f41c1be158.zip
cpython-4072875dcbdd60d27ec406eb3abe74f41c1be158.tar.gz
cpython-4072875dcbdd60d27ec406eb3abe74f41c1be158.tar.bz2
merge
Diffstat (limited to 'Lib/collections')
-rw-r--r--Lib/collections/__init__.py4
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}
'''