Skip to content

Commit 9bd4829

Browse files
committed
Format
1 parent 1fd4ac4 commit 9bd4829

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

msgpack/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from .exceptions import * # noqa: F403
55
from .ext import ExtType, Timestamp
66

7-
version = (1, 2, 1)
8-
__version__ = "1.2.1"
7+
version = (1, 2, 2)
8+
__version__ = "1.2.2"
99

1010

1111
if os.environ.get("MSGPACK_PUREPYTHON"):

test/test_default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def encode_array(obj: Any, posn: int) -> Any | dict[str, Any]:
4040
pad = itemsize - (offset % itemsize)
4141
# use fixstr for padding so deduct one
4242
if pad < 2:
43-
pad += itemsize # prewrap as pad cannot be less than one
43+
pad += itemsize # prewrap as pad cannot be less than one
4444
pad -= 1
4545

4646
if pad:

0 commit comments

Comments
 (0)