Steven D'Aprano wrote:
And if not, it's no big deal. Your help string has a clearly labeled few lines of hex:

Help on function spam:

spam(...)
spam spam spam spam spam spam spam spam spam spam with a fried egg on top

    === begin docpicture ===
    1234567890ABCDEF...
    === end docpicture ===
Or similar. I'm sure people will cope, especially since it should be relatively rare.

or you could even use:
      '''<docpicture name="fig1.png" code="base64" version="1">
      1234567890ABCDEF...
      </docpicture>'''
A comment _not_ a docstring (only found by scanning the source).
which is easy enough to hunt for.

--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to