Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Fix BaseBinaryEncoder doc-string typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinclert committed May 7, 2024
1 parent 4e1e90f commit f367f93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dialect_map_io/encoding/encoders/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BaseBinaryEncoder(BaseEncoder):
@staticmethod
def _encode_string(data: object) -> bytes:
"""
Encodes a string/bytes blob into as bytes
Encodes a string/bytes blob as bytes
:param data: string/bytes blob
:return: bytes
"""
Expand Down
2 changes: 1 addition & 1 deletion src/dialect_map_io/encoding/encoders/encoder_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self, **kwargs):

def encode(self, data: object) -> bytes:
"""
Encodes a Python object as a string
Encodes a Python object as bytes
:param data: Python object
:return: encoded bytes
"""
Expand Down

0 comments on commit f367f93

Please sign in to comment.