diff options
author | Mathieu Bridon <[email protected]> | 2018-07-05 15:17:36 +0200 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-07-24 11:07:04 -0700 |
commit | fdf946ffbfa23afde1b42fd8a342f5c42e413cc0 (patch) | |
tree | 6e7828c7673c36de634884ead541e3b46ba62a7a /src/compiler/nir/nir_algebraic.py | |
parent | 1d209275c29886bac218d77135f61ae52464a1be (diff) |
python: Stop using the string module
Most functions in the builtin string module also exist as methods of
string objects.
Since the functions were removed from the string module in Python 3,
using the instance methods directly makes the code compatible with both
Python 2 and Python 3.
Signed-off-by: Mathieu Bridon <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_algebraic.py')
0 files changed, 0 insertions, 0 deletions