Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Kiss <[email protected]>
  • Loading branch information
altendky and richardkiss authored Dec 7, 2023
1 parent 12f2e2e commit ba0ea9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clvm/SExp.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
int,
None,
list,
typing.Tuple["CastableType", ...],
typing.Tuple["CastableType", "CastableType"],
]


Expand All @@ -37,7 +37,7 @@ def looks_like_clvm_object(o: typing.Any) -> typing_extensions.TypeGuard[CLVMObj

# this function recognizes some common types and turns them into plain bytes,
def convert_atom_to_bytes(
v: typing.Union[bytes, str, int, None, typing.List, typing.SupportsBytes],
v: typing.Union[bytes, str, int, None, typing.List[typing_extensions.Never], typing.SupportsBytes],
) -> bytes:

if isinstance(v, bytes):
Expand Down

0 comments on commit ba0ea9a

Please sign in to comment.