Larry Hastings wrote: > > On 05/03/2012 10:07 PM, Benjamin Peterson wrote: > >>>+ if (times && ns) { >>>+ PyErr_Format(PyExc_RuntimeError, >>> >>Why not a ValueError or TypeError? >> > > Well it's certainly not a TypeError. TypeError is not just for values of the wrong type, it's also used for passing the wrong number of arguments to a function and the like. So TypeError would be a reasonable choice here, I think. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4