diff options
author | ptmcg <ptmcg@austin.rr.com> | 2022-05-14 02:51:45 -0500 |
---|---|---|
committer | ptmcg <ptmcg@austin.rr.com> | 2022-05-14 02:51:45 -0500 |
commit | 8195b5650a647e7449aecd2e898ab7d0bb1ca6ed (patch) | |
tree | f4288d8b8c696180659af31e407e3d157f6a9f3a /docs | |
parent | b1ed2bea080ed8739083b3177c61a151db781f43 (diff) | |
download | pyparsing-git-8195b5650a647e7449aecd2e898ab7d0bb1ca6ed.tar.gz |
Fixed some reStructured text errors in whats_new_in_3_0_0.rst
Diffstat (limited to 'docs')
-rw-r--r-- | docs/whats_new_in_3_0_0.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/whats_new_in_3_0_0.rst b/docs/whats_new_in_3_0_0.rst index 10651cd..6eb8530 100644 --- a/docs/whats_new_in_3_0_0.rst +++ b/docs/whats_new_in_3_0_0.rst @@ -200,7 +200,7 @@ just namespaces, to add some helpful behavior: (**currently not working on PyPy**) Support for yielding native Python ``list`` and ``dict`` types in place of ``ParseResults`` -------------------------------------------------------------------------------- +------------------------------------------------------------------------------------------- To support parsers that are intended to generate native Python collection types such as lists and dicts, the ``Group`` and ``Dict`` classes now accept an additional boolean keyword argument ``aslist`` and ``asdict`` respectively. See @@ -226,7 +226,7 @@ This is the mechanism used internally by the ``Group`` class when defined using ``aslist=True``. New Located class to replace ``locatedExpr`` helper method ------------------------------------------------------- +---------------------------------------------------------- The new ``Located`` class will replace the current ``locatedExpr`` method for marking parsed results with the start and end locations of the parsed data in the input string. ``locatedExpr`` had several bugs, and returned its results @@ -279,7 +279,7 @@ leading whitespace.:: [This is a fix to behavior that was added in 3.0.0, but was actually a regression from 2.4.x.] New ``IndentedBlock`` class to replace ``indentedBlock`` helper method --------------------------------------------------------------- +---------------------------------------------------------------------- The new ``IndentedBlock`` class will replace the current ``indentedBlock`` method for defining indented blocks of text, similar to Python source code. Using ``IndentedBlock``, the expression instance itself keeps track of the indent stack, |