summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_algebraic.py
diff options
context:
space:
mode:
authorMathieu Bridon <[email protected]>2018-07-05 15:17:36 +0200
committerDylan Baker <[email protected]>2018-07-24 11:07:04 -0700
commitfdf946ffbfa23afde1b42fd8a342f5c42e413cc0 (patch)
tree6e7828c7673c36de634884ead541e3b46ba62a7a /src/compiler/nir/nir_algebraic.py
parent1d209275c29886bac218d77135f61ae52464a1be (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