diff options
| author | INADA Naoki <methane@users.noreply.github.com> | 2018-11-14 21:06:16 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-14 21:06:16 +0900 |
| commit | 8b6ce53cce40e528af7cce89f358f7dde1a09289 (patch) | |
| tree | 4e406b73f7a301649bb811c1111738a928edf4e6 | |
| parent | 2f808b6e012bdc506ca83a33c2f53af1b255a069 (diff) | |
| download | msgpack-python-8b6ce53cce40e528af7cce89f358f7dde1a09289.tar.gz | |
s/iteritems/items/g (#330)
| -rw-r--r-- | msgpack/_packer.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/_packer.pyx b/msgpack/_packer.pyx index 3be593f..bfde043 100644 --- a/msgpack/_packer.pyx +++ b/msgpack/_packer.pyx @@ -226,7 +226,7 @@ cdef class Packer(object): raise ValueError("dict is too large") ret = msgpack_pack_map(&self.pk, L) if ret == 0: - for k, v in d.iteritems(): + for k, v in d.items(): ret = self._pack(k, nest_limit-1) if ret != 0: break ret = self._pack(v, nest_limit-1) |
