fix running the curses.has_key module (closes bpo-33359) (GH-6608)

This was broken by poor automated translation back in 6e3dbbdf39f3b4eb6f18c0165e446df17218b7dc.
2 files changed