File: mixed.py

package info (click to toggle)
sphinx-automodapi 0.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 944 kB
  • sloc: python: 1,696; makefile: 197
file content (24 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
"""
A collection of useful classes and functions
"""

__all__ = ['add', 'MixedSpam']


def add(a, b):
    """
    Add two numbers
    """
    return a + b


class MixedSpam(object):
    """
    Special spam
    """

    def eat(self, time):
        """
        Eat special spam in the required time.
        """
        pass