summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbdata
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@quarkslab.com>2018-12-18 08:38:50 +0000
committerSerge Guelton <sguelton@quarkslab.com>2018-12-18 08:38:50 +0000
commit3744de522c3968b803b56f87e7272a05bb308001 (patch)
treeed1bc52e56f09ed00e0e120b113260f3283b7b5a /lldb/packages/Python/lldbsuite/test/python_api/sbdata
parentc0ebe773cd0fb301474430205c69440f9915d5b0 (diff)
downloadbcm5719-llvm-3744de522c3968b803b56f87e7272a05bb308001.tar.gz
bcm5719-llvm-3744de522c3968b803b56f87e7272a05bb308001.zip
Portable Python script across Python version
In Python2, division between integer yields an integer, while it yields a float in Python3. Use a combination of from __future__ import division and // operator to get a portable behavior. Differential Revision: https://reviews.llvm.org/D55204 llvm-svn: 349455
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbdata')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud