OSDN Git Service

Python compat - test if type is integral
authorSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 14:12:50 +0000 (14:12 +0000)
committerSerge Guelton <sguelton@quarkslab.com>
Thu, 3 Jan 2019 14:12:50 +0000 (14:12 +0000)
commit247f1c68c488b45d15aaf159c28b29e05abeb2dd
tree439babd87424bb8c0823589f35c040c831239b76
parent9f3acd1159de6da53e8611c237b72933f1115188
Python compat - test if type is integral

Rely on numbers.Integral instead of int/long

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350316 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/llvm/tests/test_object.py