Skip to content

Commit

Permalink
Fix spelling errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPaddon committed Jan 2, 2025
1 parent 48fec93 commit 83c5053
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion serde/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def from_json(
Deserialize from JSON into the object. [orjson](https://github.com/ijl/orjson) will be used
if installed.
`c` is a class obejct and `s` is JSON bytes or str. If you supply other keyword arguments,
`c` is a class object and `s` is JSON bytes or str. If you supply other keyword arguments,
they will be passed in `loads` function.
If you want to use another json package, you can subclass `JsonDeserializer` and implement
Expand Down
2 changes: 1 addition & 1 deletion serde/msgpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def from_msgpack(
"""
Deserialize from MsgPack into the object.
`c` is a class obejct and `s` is MsgPack binary. If `ext_dict` option is specified,
`c` is a class object and `s` is MsgPack binary. If `ext_dict` option is specified,
`c` is ignored and type is inferred from `msgpack.ExtType` If you supply other keyword
arguments, they will be passed in `msgpack.unpackb` function.
Expand Down
2 changes: 1 addition & 1 deletion serde/toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def from_toml(c: Any, s: str, de: type[Deserializer[str]] = TomlDeserializer, **
"""
Deserialize from TOML into the object.
`c` is a class obejct and `s` is TOML string. If you supply keyword arguments other than `de`,
`c` is a class object and `s` is TOML string. If you supply keyword arguments other than `de`,
they will be passed in `toml.loads` function.
If you want to use the other toml package, you can subclass `TomlDeserializer` and implement
Expand Down

0 comments on commit 83c5053

Please sign in to comment.