scikit-hep / iminuit

Jupyter-friendly Python interface for C++ MINUIT2
https://scikit-hep.org/iminuit
Other
278 stars 71 forks source link

Fix docstring parsing #953

Closed HDembinski closed 6 months ago

HDembinski commented 6 months ago

The fallback option in iminuit.util.describe to the docstring failed on modern docstrings with Python type annotations foo(x: MyType, ...).

This patch fixes that.