builtin_hash_gen.py 115 Bytes
Newer Older
1 2 3 4 5 6 7
# test builtin hash function, on generators

def gen():
    yield

print(type(hash(gen)))
print(type(hash(gen())))