diff options
| author | Scott Gasch <[email protected]> | 2022-03-06 23:13:50 -0800 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-03-06 23:13:50 -0800 |
| commit | d8a4cb8c9f641d2e64f7416a35fd33fded92d67a (patch) | |
| tree | 70eaef4f9b98b412e4119f0e5904e3f6eb019c69 /type | |
| parent | d2e437a04124fa3c6e3175205f943769ba443393 (diff) | |
IntEnum -> Enum to fix printing of enum values.
Diffstat (limited to 'type')
| -rw-r--r-- | type/locations.py | 2 | ||||
| -rw-r--r-- | type/people.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/type/locations.py b/type/locations.py index 718a5f1..e02b8ab 100644 --- a/type/locations.py +++ b/type/locations.py @@ -6,7 +6,7 @@ import enum @enum.unique -class Location(enum.IntEnum): +class Location(enum.Enum): """An enum to represent locations.""" UNKNOWN = 0 diff --git a/type/people.py b/type/people.py index 3a6f743..d942ebb 100644 --- a/type/people.py +++ b/type/people.py @@ -5,7 +5,7 @@ import enum -class Person(enum.IntEnum): +class Person(enum.Enum): """An enum to represent people.""" UNKNOWN = 0 |
