summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2016-03-21 05:04:29 +0000
committerptmcg <ptmcg@9bf210a0-9d2d-494c-87cf-cfb32e7dff7b>2016-03-21 05:04:29 +0000
commit129b6c9e60fbfd735a3be6f901aa83ded4991843 (patch)
tree8ae46dfe2aeeee0552641ac54e7096ca53f0d413
parentf207b22ae55e457ca98b455804bcadf509cccd26 (diff)
downloadpyparsing-129b6c9e60fbfd735a3be6f901aa83ded4991843.tar.gz
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
-rw-r--r--src/pyparsing.py5
1 files 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__()