]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Oops. Return -1 to distinguish error from empty dict.
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 17 Feb 2004 20:10:11 +0000 (20:10 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 17 Feb 2004 20:10:11 +0000 (20:10 +0000)
commit7083bb744a552ab2bf31500763ace783d12f6fb8
tree40675661a1875cd1f3658e28dc35471084ccf6c9
parent9eb86b3c7cd44831735392f67ae3d97f859271ba
Oops.  Return -1 to distinguish error from empty dict.

This change probably isn't work a bug fix.  It's unlikely that anyone
was calling this method without passing it a real dict.
Objects/dictobject.c