summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-02-01 02:16:37 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-02-01 02:16:37 (GMT)
commit1f1b2d2e68ef520c2c7a937a4f429020a4627356 (patch)
treee734d7746fc60baa64755a45689f64f0c186a7a3 /Objects
parent371935fc065e69c59c5382cbbf2cb098cf410f0e (diff)
downloadcpython-1f1b2d2e68ef520c2c7a937a4f429020a4627356.zip
cpython-1f1b2d2e68ef520c2c7a937a4f429020a4627356.tar.gz
cpython-1f1b2d2e68ef520c2c7a937a4f429020a4627356.tar.bz2
Removed all uses of the out-of-favor __safe_for_unpickling__ magic
attr, and copy_reg.safe_constructors.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/structseq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/structseq.c b/Objects/structseq.c
index effe360..603477f 100644
--- a/Objects/structseq.c
+++ b/Objects/structseq.c
@@ -392,5 +392,4 @@ PyStructSequence_InitType(PyTypeObject *type, PyStructSequence_Desc *desc)
PyInt_FromLong((long) n_members));
PyDict_SetItemString(dict, unnamed_fields_key,
PyInt_FromLong((long) n_unnamed_members));
- PyDict_SetItemString(dict, "__safe_for_unpickling__", Py_True);
}