summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorptmcg <ptmcg@austin.rr.com>2021-11-14 18:03:27 -0600
committerptmcg <ptmcg@austin.rr.com>2021-12-06 09:47:21 -0600
commitfd7f73d28cabbc2f6ea845d1cb968a6cc2c64490 (patch)
tree9e5c030edef115c960c10b034e1e9cb3a610c4c1 /docs
parentb1b46365fcf58eb80d03540b07dbd1e9a766f1f9 (diff)
downloadpyparsing-git-fd7f73d28cabbc2f6ea845d1cb968a6cc2c64490.tar.gz
Reformat docs for ParseResults bugfix to evaluate ParseResults as True if either list is non empty or results names dict is non empty
Diffstat (limited to 'docs')
-rw-r--r--docs/whats_new_in_3_0_0.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/whats_new_in_3_0_0.rst b/docs/whats_new_in_3_0_0.rst
index 4e10cf2..3e099c6 100644
--- a/docs/whats_new_in_3_0_0.rst
+++ b/docs/whats_new_in_3_0_0.rst
@@ -526,7 +526,7 @@ API Changes
{'name': 'empty result'}
True
- In previous versions, the second test would return `False`.
+ In previous versions, the second call to `bool()` would return `False`.
- [Note added in pyparsing 3.0.4, reflecting a change in 3.0.0]
The `ParseResults` class now uses `__slots__` to pre-define instance attributes. This