gdal icon indicating copy to clipboard operation
gdal copied to clipboard

Doc: Remove C types from Python API docstrings

Open dbaston opened this issue 8 months ago • 1 comments

Feature description

Currently SWIG adds a signature line to the start of our docstrings. This signature line includes the C types, which is confusing. These types can be removed by using %feature("autodoc", "0") instead of the current %feature("autodoc").

From

Image

To

image

Additional context

No response

dbaston avatar Apr 18 '25 22:04 dbaston

Ah that's good news - I was wondering why these were being added (and are quite confusing when the Python type is a list and the docstring has an int.

geographika avatar Apr 19 '25 09:04 geographika