From b81f29eab02abfac6b0d0ffe86c614e8cc016f1c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 21 Jul 2012 15:39:21 -0400 Subject: [PATCH] Add closing semicolons (;) to C structures in docstrings. --- igor/struct.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/igor/struct.py b/igor/struct.py index 6a19e2c..a50ede5 100644 --- a/igor/struct.py +++ b/igor/struct.py @@ -373,12 +373,12 @@ class Structure (_struct.Struct): struct run { unsigned int time; short data[2][3]; - } + }; struct experiment { unsigned short version; struct run runs[2]; - } + }; As: @@ -632,7 +632,7 @@ class DynamicStructure (Structure): struct vector { unsigned int length; short data[length]; - } + }; You can generate a Python version of this structure in two ways, with a dynamic ``length``, or with a dynamic ``data``. In both -- 2.26.2