5 Commits

Author SHA1 Message Date
Tim Gates
b02b8e8e25
Fix simple typo: varialbes, -> variables,
Closes #371
2019-12-10 20:52:32 +11:00
Aaron Meurer
2aee92e680 Update run_with_timeout docstring 2011-08-09 05:22:50 -06:00
Aaron Meurer
a7852f1b53 Update custom stringifier example with a method to use sub-second timeouts 2011-08-09 04:13:17 -06:00
Aaron Meurer
acacfaa03e Add some more useful information to the example-stringifier.py file 2011-07-28 22:35:56 -06:00
Aaron Meurer
9f8cb6667f Add example-stringifier.py file
This shows one possible use of the custom stringifier functionality.
The example function computes str(), unless it takes longer than one
second to compute (it uses signal.alarm() to determine this), in which
case it falls back to type.
2011-07-28 22:26:52 -06:00