[code.view]

[top] / python / PyMOTW / doctest / doctest_in_help.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2010 Doug Hellmann.  All rights reserved.
     #
     """Tests for this module are in the external help text.
     """
     #end_pymotw_header
     
     def my_function(a, b):
         """Returns a*b
         """
         return a * b
         
     
     
     
     
     

[top] / python / PyMOTW / doctest / doctest_in_help.py

contact | logmethods.com