summaryrefslogtreecommitdiffstats
path: root/Modules/cPickle.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-21 23:44:34 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-21 23:44:34 (GMT)
commit8ee3cd47a9bf4f4ce9f4ac7ec0c5558cfb43a44c (patch)
tree52e341f4873ee01f518f71d0c0eb7b6bd83e126f /Modules/cPickle.c
parente1682a80fa3a664715367bc09f467eb1bd1ce537 (diff)
downloadcpython-8ee3cd47a9bf4f4ce9f4ac7ec0c5558cfb43a44c.zip
cpython-8ee3cd47a9bf4f4ce9f4ac7ec0c5558cfb43a44c.tar.gz
cpython-8ee3cd47a9bf4f4ce9f4ac7ec0c5558cfb43a44c.tar.bz2
#546156, Remove load_false()/load_true(), they are not used
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r--Modules/cPickle.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index a99d69f..2ffba48 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -2609,20 +2609,6 @@ load_none(Unpicklerobject *self)
}
static int
-load_false(Unpicklerobject *self)
-{
- PDATA_APPEND(self->stack, Py_False, -1);
- return 0;
-}
-
-static int
-load_true(Unpicklerobject *self)
-{
- PDATA_APPEND(self->stack, Py_True, -1);
- return 0;
-}
-
-static int
bad_readline(void)
{
PyErr_SetString(UnpicklingError, "pickle data was truncated");