Hacker News new | ask | show | jobs
by andreasvc 3984 days ago
I would do simply """f docstring\n%s""" % _shared_docstring, no need for a separate concatenation. However, I wonder whether sphinx would handle this.
1 comments

This sort of thing works fine. We use it for pandas all the time.