logoalt Hacker News

jMyles • today at 1:35 AM • 0 replies • view on HN

> No, it returns KeyError. Or at least it should.

Surely you meant _raises_? Or did you literally mean to return an exception class?