summaryrefslogtreecommitdiff
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-01-14 14:31:13 -0800
committerGregory P. Smith <greg@krypto.org>2012-01-14 14:31:13 -0800
commit5831bd2f3bdc9b07912fb939afc79d04910971e8 (patch)
tree601c711bd7caf575130f842ac86f3d7b26085f3a /Python/graminit.c
parent0ea3ea5e6954635714d028cb174d911ba59b7862 (diff)
downloadcpython-git-5831bd2f3bdc9b07912fb939afc79d04910971e8.tar.gz
Remove an unnecessary extra copy of the bytes hash function.
This copy also had a bug in it, it fails to incorporate the length into the hash by using it as the loop variable so it'll always be -1 by the time it is XORed in. As such: I'm doing this only in Python 3.3 and not backporting as it would change the existing hash behavior of datetime objects.
Diffstat (limited to 'Python/graminit.c')
0 files changed, 0 insertions, 0 deletions