projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a box method and fixed the broken justify method.
[python_utils.git]
/
type
/
people.py
diff --git
a/type/people.py
b/type/people.py
index 1230db22f90a6d467a6b94e66daa5674e7963163..3a6f743342f0d0c84f3eb139e5a5ebf16bab1553 100644
(file)
--- a/
type/people.py
+++ b/
type/people.py
@@
-1,9
+1,13
@@
#!/usr/bin/env python3
#!/usr/bin/env python3
+"""An enum to represent people."""
+
import enum
import enum
-class Person(enum.Enum):
+class Person(enum.IntEnum):
+ """An enum to represent people."""
+
UNKNOWN = 0
SCOTT = 1
LYNN = 2
UNKNOWN = 0
SCOTT = 1
LYNN = 2