Source code for python_cheatsheet.u

"""
.. module:: u
   :platform: Unix, Windows
   :synopsis: A is for

.. moduleauthor:: Dave Dawson <davewd@me.com>


"""

[docs]def unit_testing(): """This function shows an example unit test (so too though does this module!) Args: Returns: int. The return code:: 0 -- Success! 1 -- No good. 2 -- Try again. Raises: A really great idea in any project. A way you might use me is super simpl;e. >>> print public_fn_with_googley_docstring(name='foo', state=None) 0 BTW, this always returns 0. **NEVER** use with :class:`MyPublicClass`. """ return 0