diff options
author | Mathieu Bridon <[email protected]> | 2018-06-25 18:31:01 +0200 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-08-01 14:26:19 +0100 |
commit | ad363913e6766280f53838126d67370f9e97aa12 (patch) | |
tree | 4d3d4f6e3f7a2718f964e2bfa867de0116511dcb /src/gallium | |
parent | a71df20855e1d5e875042ca34de9401951fb96a6 (diff) |
python: Explicitly add the 'L' suffix on Python 3
Python 2 had two integer types: int and long. Python 3 dropped the
latter, as it made the int type automatically support bigger numbers.
As a result, Python 3 lost the 'L' suffix on integer litterals.
This probably doesn't make much difference when compiling the generated
C code, but adding it explicitly means that both Python 2 and 3 generate
the exact same C code anyway, which makes it easier to compare and check
for discrepencies when moving to Python 3.
Signed-off-by: Mathieu Bridon <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions