summaryrefslogtreecommitdiff
path: root/msgpack/_packer.pyx
diff options
context:
space:
mode:
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