I think the poundsign comments are gone before the ptl compiler gets involved, so it would be a big change to use them. It would, however, be nice. I think the solution could be some variant of 4), but what mark? d"foo" doc("foo") __doc__ = "foo" __doc__("foo") "foo", >> >> 4) Mark docstrings specially: d"docstring", or something like that. > > Is it possible to take the first lines under the function signature > that start > with pound signs? That's how I write the docstrings for my ptl > functions > now.