From 8ee3cd47a9bf4f4ce9f4ac7ec0c5558cfb43a44c Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 21 Apr 2002 23:44:34 +0000 Subject: #546156, Remove load_false()/load_true(), they are not used --- Modules/cPickle.c | 14 -------------- 1 file changed, 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"); -- cgit v0.12