More changes to get 3.9 working.
[python_utils.git] / id_generator.py
index dc2ac9cc810a4e1d588d60231371e873d9d31966..4b61a93081d6dd17ab341330e7d4f08991ad4aab 100644 (file)
@@ -1,7 +1,11 @@
 #!/usr/bin/env python3
 
+# © Copyright 2021-2022, Scott Gasch
+
 """A helper class for generating thread safe monotonically increasing
-id numbers."""
+id numbers.
+
+"""
 
 import itertools
 import logging
@@ -15,7 +19,7 @@ generators = {}
 
 def get(name: str, *, start=0) -> int:
     """
-    Returns a thread safe monotonically increasing id suitable for use
+    Returns a thread-safe, monotonically increasing id suitable for use
     as a globally unique identifier.
 
     >>> import id_generator