summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-11-06 21:37:33 +0000
committerZachary Turner <zturner@google.com>2015-11-06 21:37:33 +0000
commite73a0601bd1f208d4b4e30ffa6f53775e8c92f6c (patch)
tree5bcfbd2cf133b8c444ce573037dc218c95fb4288 /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
parent5821f7971429f94faaf35757b4e029326f1c53da (diff)
downloadbcm5719-llvm-e73a0601bd1f208d4b4e30ffa6f53775e8c92f6c.tar.gz
bcm5719-llvm-e73a0601bd1f208d4b4e30ffa6f53775e8c92f6c.zip
Python 3 - Port use of string.maketrans and don't use sets.Set.
`sets.Set` has been deprecated in favor of `set` since 2.6, and `string.maketrans` has to be special cased. In Python 3 there is `str.maketrans`, `bytes.maketrans`, and `bytearray.maketrans` and you have to choose the correct one. So we need to introduce a runtime version check at this site. llvm-svn: 252348
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud