Update hack.py

for 3.2.1