[Python-Dev] Sharing docstrings between the Python and C implementations of a module

Skip Montanaro skip at pobox.com
Mon Apr 15 19:07:42 CEST 2013


> Would it make sense to think about adding this in the scope of the argument
> clinic work, or is it too unrelated? This seems like a commonly needed thing
> for large parts of the stdlib (where the C accelerator overrides Python
> code).

Or maybe separate doc strings from both code bases altogether and
insert them where appropriate as part of the build process?  That
said, I haven't any idea how you might accomplish that.  Maybe this
general problem should be thrown over the python-ideas to cook for
awhile...

Skip


More information about the Python-Dev mailing list