enum/flags: set tp_hash on Python 2 as well; add hash() tests78f5cc159afb76d35b703bd6f3d1adcdc96bdd8a
commit78f5cc159afb76d35b703bd6f3d1adcdc96bdd8a
authorChristoph Reiter <reiter.christoph@gmail.com>
Sat, 31 Mar 2018 21:41:16 +0000 (31 23:41 +0200)
committerChristoph Reiter <reiter.christoph@gmail.com>
Sat, 31 Mar 2018 21:41:16 +0000 (31 23:41 +0200)
treec79d4daafaadb51d42c6da724a86dea239afd920
parentcbb64dd73ca7114ee423caa5e5dcc58a2de87126
enum/flags: set tp_hash on Python 2 as well; add hash() tests

It shouldn't make a difference.
gi/pygenum.c
gi/pygflags.c
tests/test_gi.py