diff options
| author | Scott Gasch <[email protected]> | 2022-02-10 14:52:14 -0800 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-02-10 14:52:14 -0800 |
| commit | 2e8dd08f5f4f9624facf4d38ea6b276cc8131f56 (patch) | |
| tree | 5d9982185ddb95c76669c594d20c2802e49ce89e /type/locations.py | |
| parent | e76081ebdfa078aa8508ba1682dacea80341157e (diff) | |
More cleanup.
Diffstat (limited to 'type/locations.py')
| -rw-r--r-- | type/locations.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/type/locations.py b/type/locations.py index 24ab063..718a5f1 100644 --- a/type/locations.py +++ b/type/locations.py @@ -1,10 +1,14 @@ #!/usr/bin/env python3 +"""An enum to represent locations.""" + import enum @enum.unique -class Location(enum.Enum): +class Location(enum.IntEnum): + """An enum to represent locations.""" + UNKNOWN = 0 HOUSE = 1 CABIN = 2 |
