dave: >Can you have doctests on random functions? Yes, you can add doctests to methods, functions, classes, module docstrings, and in external text files. Bye, bearophile