summaryrefslogtreecommitdiff
path: root/python/typearchive.py
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2024-08-04 22:20:42 -0400
committerJordan Wiens <jordan@psifertex.com>2024-08-04 22:20:42 -0400
commit942d1cd1c0517e7a73a0a6f3d0102b25b967e40e (patch)
treec82f4f80af1561999fef503d4c919174b0ea1758 /python/typearchive.py
parent8b3c5bc8ea70b837dd7fff17e79a60c3612169d9 (diff)
spellcheck pass on pydocs
Diffstat (limited to 'python/typearchive.py')
-rw-r--r--python/typearchive.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/typearchive.py b/python/typearchive.py
index 60897d94..441e40da 100644
--- a/python/typearchive.py
+++ b/python/typearchive.py
@@ -125,7 +125,7 @@ class TypeArchive:
@property
def id(self) -> Optional[str]:
"""
- Get the guid for a Type Archive
+ Get the GUID for a Type Archive
:return: Guid string
"""
@@ -222,7 +222,7 @@ class TypeArchive:
def add_type(self, name: '_types.QualifiedNameType', type: '_types.Type') -> None:
"""
- Add named types to the type archive. Type must have all dependant named types added
+ Add named types to the type archive. Type must have all dependent named types added
prior to being added, or this function will fail.
If the type already exists, it will be overwritten.
@@ -233,9 +233,9 @@ class TypeArchive:
def add_types(self, new_types: List[Tuple['_types.QualifiedNameType', '_types.Type']]) -> None:
"""
- Add named types to the type archive. Types must have all dependant named
- types prior to being added, or included in the list, or this function will fail.
- Types already existing with any added names will be overwritten.
+ Add named types to the type archive. Types must have all dependent named
+ types added prior to the parent types being added (or included in the list) or this
+ function will fail. Types already existing with any added names will be overwritten.
:param new_types: Names and definitions of new types
"""