[Python-Dev] Error in PEP3118?

Thomas Heller theller at ctypes.org
Fri Jan 18 09:05:02 CET 2008


Hi Travis,

The pep contains this sample:

"""
Nested array
    ::

        struct {
             int ival;
             double data[16*4];
        }
        """i:ival: 
           (16,4)d:data:
        """
"""

I think it is wrong and must be changed to the following; is this correct?

"""
Nested array
    ::

        struct {
             int ival;
             double data[16][4];
        }
        """i:ival: 
           (16,4)d:data:
        """
"""

Thomas


More information about the Python-Dev mailing list