10000 spelling · msgpack/msgpack-python@57de67b · GitHub
[go: up one dir, main page]

Skip to content

Commit 57de67b

Browse files
committed
spelling
1 parent e47e2e5 commit 57de67b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

msgpack/_unpacker.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ def unpackb(object packed, object object_hook=None, object list_hook=None,
149149
else:
150150
PyObject_AsReadBuffer(packed, <const void**>&buf, &buf_len)
151151
PyErr_WarnEx(DeprecationWarning,
152-
"Unpacking %s requires old buffer protocol, "
153-
"which will be removed in msgpack 1.0." % type(packed),
152+
"using old buffer interface to unpack %s, which "
153+
"will be removed in a future version" % type(packed),
154154
1)
155155

156156
if encoding is not None:

msgpack/fallback.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ def feed(self, next_bytes):
254254
# try to use legacy buffer protocol if 2.7, otherwise re-raise
255255
if not PY3:
256256
view = memoryview(buffer(next_bytes))
257-
warnings.warn("Unpacking %s requires old buffer protocol, "
258-
"which will be removed in msgpack 1.0." % type(next_bytes),
257+
warnings.warn("using old buffer interface to unpack %s, which "
258+
"will be removed in a future version" % type(next_bytes),
259259
DeprecationWarning)
260260
else:
261261
raise

0 commit comments

Comments
 (0)
0