diff options
Diffstat (limited to 'numpy/testing/print_coercion_tables.py')
-rwxr-xr-x | numpy/testing/print_coercion_tables.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/testing/print_coercion_tables.py b/numpy/testing/print_coercion_tables.py index bde82a666..3a359f472 100755 --- a/numpy/testing/print_coercion_tables.py +++ b/numpy/testing/print_coercion_tables.py @@ -21,7 +21,8 @@ class GenericObject(object): def print_cancast_table(ntypes): print('X', end=' ') - for char in ntypes: print(char, end=' ') + for char in ntypes: + print(char, end=' ') print() for row in ntypes: print(row, end=' ') @@ -31,7 +32,8 @@ def print_cancast_table(ntypes): def print_coercion_table(ntypes, inputfirstvalue, inputsecondvalue, firstarray, use_promote_types=False): print('+', end=' ') - for char in ntypes: print(char, end=' ') + for char in ntypes: + print(char, end=' ') print() for row in ntypes: if row == 'O': |