Skip to content

Commit bedbd12

Browse files
committed
Change of other type description
1 parent a9f5d65 commit bedbd12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toon/encoder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _encode_value(value: Any, level: int, opts: EncoderOptions) -> str:
120120
elif isinstance(value, tuple):
121121
return _encode_tuple(value)
122122
else:
123-
# Handle other types as null
123+
# Handle other types with NotImplementedError
124124
raise NotImplementedError(f'Encoding for type {type(value)} is not implemented.')
125125

126126

0 commit comments

Comments
 (0)