diff options
| author | Jaime <jaime.frio@gmail.com> | 2015-11-07 21:00:01 +0100 |
|---|---|---|
| committer | Jaime <jaime.frio@gmail.com> | 2015-11-07 21:00:01 +0100 |
| commit | 694f628bb9bb0da4a05d279b22cdb0987e2b3203 (patch) | |
| tree | 7017d8443b51a471af9098162ce415ac6dcfe507 /numpy/lib | |
| parent | 3a41be170909854ff666828b76e0b6e065faf354 (diff) | |
| parent | def49ba8fa3fe252c26c210d7730ed5c3a42c60e (diff) | |
| download | numpy-694f628bb9bb0da4a05d279b22cdb0987e2b3203.tar.gz | |
Merge pull request #6649 from sieben/dict_litteral
MAINT: Dictionary litteral
Diffstat (limited to 'numpy/lib')
| -rw-r--r-- | numpy/lib/format.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/lib/format.py b/numpy/lib/format.py index 66a1b356c..a0f2c5497 100644 --- a/numpy/lib/format.py +++ b/numpy/lib/format.py @@ -265,8 +265,7 @@ def header_data_from_array_1_0(array): This has the appropriate entries for writing its string representation to the header of the file. """ - d = {} - d['shape'] = array.shape + d = {'shape': array.shape} if array.flags.c_contiguous: d['fortran_order'] = False elif array.flags.f_contiguous: |
