File: variables.py

package info (click to toggle)
sphinx-automodapi 0.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,180 kB
  • sloc: python: 1,769; makefile: 196
file content (24 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (5)
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 variables.
"""

__all__ = ['PARROT_STATE', 'FUNNY_WALK_STEPS']


PARROT_STATE = 'dead'
"""The global state of the parrot."""

FUNNY_WALK_STEPS = [['left', 'right'],
                    ['left', 'jump', 'right', 'jump'],
                    ['swim']]
"""List of different possible walk.

Each item contains a list of steps.
"""

# A variable not in __all__ should not be propagated.
NOTHING_HAPPENS = 0

# Even if it has a docstring
REALLY_NOTHING = 1
"""Really nothing."""