From a6f7d14e60e3d56fe1c0073730a06e23cf696c5a Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Wed, 29 Sep 2021 20:09:32 +0200 Subject: ENH: Add spaces after punctuation in dtype repr/str. (#19686) Before: ``` In [1]: np.dtype({"names": ["a"], "formats": [int], "offsets": [2]}) Out[1]: dtype({'names':['a'], 'formats':['>> dt = np.dtype('u1, >> dt - dtype({'names':['f0','f1','f2'], 'formats':['u1','>> print_offsets(dt) offsets: [0, 8, 16] itemsize: 24 -- cgit v1.2.1