chiark / gitweb /
documentation/python: improve pybind docstring parsing robustness.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 5 Jan 2022 21:54:46 +0000 (22:54 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 5 Jan 2022 22:00:10 +0000 (23:00 +0100)
commitea0404cefaa071f068bdfa1a99abd62a3fb45a47
treedb907080d461f61597ac0c1748a6a243175f120b
parentd3003a7cb7b546a3b2d610538a70a21046995855
documentation/python: improve pybind docstring parsing robustness.

It can't be ever made ideal since the output is not really meant to be
machine-readable, but expecting overload headers to be always at the
start of a new paragraph should hopefully rule out most accidental
matches.
documentation/python.py