summaryrefslogtreecommitdiff
path: root/msgpack/_packer.pyx
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2018-11-09 21:39:25 +0900
committerGitHub <noreply@github.com>2018-11-09 21:39:25 +0900
commit1bf62ba6f8f94ab8a7dd135e0039ee3b10e0e96c (patch)
tree64a569af7058a9e04c1cbb24c97ea72db31dc260 /msgpack/_packer.pyx
parent9e210bfc1a922031db67bf42e508b1b4550814c6 (diff)
downloadmsgpack-python-1bf62ba6f8f94ab8a7dd135e0039ee3b10e0e96c.tar.gz
PendingDeprecationWarning -> DeprecationWarning (#321)
Diffstat (limited to 'msgpack/_packer.pyx')
-rw-r--r--msgpack/_packer.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/_packer.pyx b/msgpack/_packer.pyx
index fd05ae0..6a6d917 100644
--- a/msgpack/_packer.pyx
+++ b/msgpack/_packer.pyx
@@ -121,7 +121,7 @@ cdef class Packer(object):
bint use_single_float=False, bint autoreset=True, bint use_bin_type=False,
bint strict_types=False):
if encoding is not None:
- PyErr_WarnEx(PendingDeprecationWarning, "encoding is deprecated.", 1)
+ PyErr_WarnEx(DeprecationWarning, "encoding is deprecated.", 1)
self.use_float = use_single_float
self.strict_types = strict_types
self.autoreset = autoreset