sample.py 272 B

12345678910111213141516
  1. """ here is a dummy documentation"""
  2. import os
  3. def square(a):
  4. """short description of the function square
  5. longish explanation: returns the square of a: :math:`a^2`
  6. :param a: an input argument
  7. :returns: a*a
  8. """
  9. return a*a
  10. assert 4 == square(2)