Skip to content

Commit

Permalink
docs: fixup docs a bit (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
clintval authored Nov 8, 2024
1 parent 523b9d4 commit 3c625de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions bedspec/_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def comment_prefixes(self) -> set[str]:

@staticmethod
def _build_union(*types: type) -> type | UnionType:
"""Build a singular type or a union type if multiple types are provided."""
if len(types) == 1:
return types[0]
union: UnionType | type = types[0]
Expand Down
2 changes: 1 addition & 1 deletion bedspec/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class BedWriter(TsvStructWriter[BedType]):

@override
def _encode(self, item: Any) -> Any:
"""A callback for over_readriding the encoding of builtin types and custom types."""
"""A callback for overriding the encoding of builtin types and custom types."""
if item is None:
return "."
if isinstance(item, (list, set, tuple)):
Expand Down

0 comments on commit 3c625de

Please sign in to comment.