Source code for test.test
"""
test.py
====================================
The core module of my example project
"""
import numpy as np
[docs]def about_me(your_name):
"""
Return the most important thing about a person.
Parameters
----------
your_name
A string indicating the name of the person.
"""
return "The wise {} loves Python.".format(your_name)
[docs]class ExampleClass:
"""An example docstring for a class definition."""
def __init__(self, name):
"""
Blah blah blah.
Parameters
---------
name
A string to assign to the `name` instance attribute.
"""
self.name = name
[docs] def about_self(self):
"""
Return information about an instance created from ExampleClass.
"""
return "I am a very smart {} object.".format(self.name)