Use print function instead of statement.
Correct docstring example of domain_of_validity.
Use print() for all docstring examples.
Add version classifiers for PyPI.

I only added the versions I tested.