forked from rlangoy/bluepy_examples_nRF51822_mbed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotinuse.py
35 lines (30 loc) · 825 Bytes
/
notinuse.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""
notinuse.py
====================================
The core module of my example project
"""
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)
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
def about_self(self):
"""
Return information about an instance created from ExampleClass.
"""
return "I am a very smart {} object.".format(self.name)