diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-12-14 15:15:36 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-12-14 15:15:55 +0300 |
commit | 51580fabb4be6d596f10dbc5de4757e99c076628 (patch) | |
tree | fa8d08ac42a652f858db195154d55d64c1394c65 /sphinx/parsers.py | |
parent | 0dfa88ec4bd6d6443d6d63b8b1f1d87cdb308191 (diff) |
Update docstrings
Diffstat (limited to 'sphinx/parsers.py')
-rw-r--r-- | sphinx/parsers.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/parsers.py b/sphinx/parsers.py index 5d19ae67c..92bea9461 100644 --- a/sphinx/parsers.py +++ b/sphinx/parsers.py @@ -59,7 +59,7 @@ class Parser(docutils.parsers.Parser): class RSTParser(docutils.parsers.rst.Parser): - """A reST parser customized for Sphinx.""" + """A reST parser for Sphinx.""" def get_transforms(self): # type: () -> List[Type[Transform]] @@ -73,8 +73,8 @@ class RSTParser(docutils.parsers.rst.Parser): # type: (Any, nodes.document) -> None """Parse text and generate a document tree. - This derived method accepts StringList as a inputstring parameter. - It enables to handle mixed contents (cf. rst_prolog) correctly. + This accepts StringList as an inputstring parameter. + It enables to handle mixed contents (cf. :confval:`rst_prolog`) correctly. """ if isinstance(inputstring, StringList): self.setup_parse(inputstring, document) |