OSDN Git Service

Python compat - iterator protocol
authorSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 15:43:14 +0000 (15:43 +0000)
committerSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 15:43:14 +0000 (15:43 +0000)
commit19b8509e559a1e8c25af2b5caa7a72ff991d2b07
treee1d06c8febd3d46717b69469df371afb7f8a4075
parent39c11273d10721c36624abcf7494060587e156df
Python compat - iterator protocol

In Python2 next() is used wile it's __next__ in Python3.

Differential Revision: https://reviews.llvm.org/D56250

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350326 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/llvm/core.py
utils/gdb-scripts/prettyprinters.py