diff options
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r-- | Modules/cPickle.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c index 98a2b87..afa75fd 100644 --- a/Modules/cPickle.c +++ b/Modules/cPickle.c @@ -1523,8 +1523,6 @@ batch_list(Picklerobject *self, PyObject *iter) static char append = APPEND; static char appends = APPENDS; - self->nesting++; - assert(iter != NULL); if (self->proto == 0) { @@ -1664,8 +1662,6 @@ batch_dict(Picklerobject *self, PyObject *iter) static char setitem = SETITEM; static char setitems = SETITEMS; - self->nesting++; - assert(iter != NULL); if (self->proto == 0) { |