From 2e8dd08f5f4f9624facf4d38ea6b276cc8131f56 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 10 Feb 2022 14:52:14 -0800 Subject: More cleanup. --- type/people.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'type/people.py') diff --git a/type/people.py b/type/people.py index 1230db2..3a6f743 100644 --- a/type/people.py +++ b/type/people.py @@ -1,9 +1,13 @@ #!/usr/bin/env python3 +"""An enum to represent people.""" + import enum -class Person(enum.Enum): +class Person(enum.IntEnum): + """An enum to represent people.""" + UNKNOWN = 0 SCOTT = 1 LYNN = 2 -- cgit v1.3