Typos in docs.
[pyutils.git] / src / pyutils / id_generator.py
index c4885c81fd3534945ba4ab98a81a81c47c6729c7..108c230f09a5be67f3ff819cf384408f74296f53 100644 (file)
@@ -5,6 +5,11 @@
 """
 A helper class for generating thread safe monotonically increasing
 id numbers.
+
+.. note::
+
+    This code is thread safe but not process safe; for use only
+    within one python process.
 """
 
 import itertools
@@ -47,7 +52,7 @@ def get(name: str, *, start=0) -> int:
     return x
 
 
-if __name__ == '__main__':
+if __name__ == "__main__":
     import doctest
 
     doctest.testmod()