[Doc-SIG] RE: Not escaping the escape leaves no escape ;)

David Goodger goodger@users.sourceforge.net
Wed, 22 Aug 2001 22:18:21 -0400


Tony J Ibbs (Tibs) <tony@lsl.co.uk> wrote on 2001-08-22 04:47:
> I need to add a small section on embedding reST within *actual*
> docstrings.

>From PEP 257:

    Use r"""raw triple double quotes""" if you use any backslashes in
    your docstrings.

I'll add a note to the spec about this as well.

-- 
David Goodger    goodger@users.sourceforge.net    Open-source projects:
 - Python Docstring Processing System: http://docstring.sourceforge.net
 - reStructuredText: http://structuredtext.sourceforge.net
 - The Go Tools Project: http://gotools.sourceforge.net