Message194626
David,
How about like below?
elif timeout < sys.float_info.epsilon:
raise ValueError("'timeout' must be a positive number")
The docstring has been there for quite a while and IMHO it just doesn't make sense passing 0.0 as a timeout value. |
|
Date |
User |
Action |
Args |
2013-08-07 21:47:28 | zyluo | set | recipients:
+ zyluo, r.david.murray, docs@python |
2013-08-07 21:47:28 | zyluo | set | messageid: <1375912048.13.0.872004246723.issue18676@psf.upfronthosting.co.za> |
2013-08-07 21:47:28 | zyluo | link | issue18676 messages |
2013-08-07 21:47:28 | zyluo | create | |
|