8 lines
115 B
Python
8 lines
115 B
Python
![]() |
# test builtin hash function, on generators
|
||
|
|
||
|
def gen():
|
||
|
yield
|
||
|
|
||
|
print(type(hash(gen)))
|
||
|
print(type(hash(gen())))
|