diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-07-28 00:18:02 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-07-30 08:26:08 +0100 |
commit | fa282b3540c87927fc3562bd0f0863accf6a853f (patch) | |
tree | 39dbce670ea1901a04d81865c56499598ddfbe73 /CHANGES.current | |
parent | 812f789db6ec21ebe817521424dff32ada8be00c (diff) | |
download | swig-fa282b3540c87927fc3562bd0f0863accf6a853f.tar.gz |
Improve Python docstring indentation handling
SWIG-3.0.5 and earlier sometimes truncated text provided in the docstring
feature.
SWIG-3.0.6 gave a 'Line indented less than expected' error instead of
truncating the docstring text.
Now the indentation for the 'docstring' feature is smarter and is
adjusted so that no truncation occurs.
Closes #475
Diffstat (limited to 'CHANGES.current')
-rw-r--r-- | CHANGES.current | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.current b/CHANGES.current index cd5ae106a..de10ba23f 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,6 +5,17 @@ See the RELEASENOTES file for a summary of changes in each release. Version 3.0.7 (in progress) =========================== +2015-07-28: wsfulton + [Python] Fix #475. Improve docstring indentation handling. + + SWIG-3.0.5 and earlier sometimes truncated text provided in the docstring feature. + This occurred when the indentation (whitespace) in the docstring was less in the + second or later lines when compared to the first line. + SWIG-3.0.6 gave a 'Line indented less than expected' error instead of truncating + the docstring text. + Now the indentation for the 'docstring' feature is smarter and is appropriately + adjusted so that no truncation occurs. + 2015-07-22: wsfulton Support for special variable expansion in typemap attributes. Example usage expansion in the 'out' attribute (C# specific): |