From 129b6c9e60fbfd735a3be6f901aa83ded4991843 Mon Sep 17 00:00:00 2001 From: ptmcg Date: Mon, 21 Mar 2016 05:04:29 +0000 Subject: Cleanup docstring changes to QuotedString for epydoc processing git-svn-id: svn://svn.code.sf.net/p/pyparsing/code/trunk@331 9bf210a0-9d2d-494c-87cf-cfb32e7dff7b --- src/pyparsing.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pyparsing.py b/src/pyparsing.py index 0e62423..425f5af 100644 --- a/src/pyparsing.py +++ b/src/pyparsing.py @@ -1942,15 +1942,14 @@ class QuotedString(Token): """Token for matching strings that are delimited by quoting characters. """ def __init__( self, quoteChar, escChar=None, escQuote=None, multiline=False, unquoteResults=True, endQuoteChar=None, convertWhitespaceEscapes=True): - """ - Defined with the following parameters: + r"""Defined with the following parameters: - quoteChar - string of one or more characters defining the quote delimiting string - escChar - character to escape quotes, typically backslash (default=None) - escQuote - special quote sequence to escape an embedded quote string (such as SQL's "" to escape an embedded ") (default=None) - multiline - boolean indicating whether quotes can span multiple lines (default=C{False}) - unquoteResults - boolean indicating whether the matched text should be unquoted (default=C{True}) - endQuoteChar - string of one or more characters defining the end of the quote delimited string (default=C{None} => same as quoteChar) - - convertWhitespaceEscapes - convert escaped whitespace ('\t', '\n', etc.) to actual whitespace (default=C{True}) + - convertWhitespaceEscapes - convert escaped whitespace (C{'\t'}, C{'\n'}, etc.) to actual whitespace (default=C{True}) """ super(QuotedString,self).__init__() -- cgit v1.2.1