From fd7f73d28cabbc2f6ea845d1cb968a6cc2c64490 Mon Sep 17 00:00:00 2001 From: ptmcg Date: Sun, 14 Nov 2021 18:03:27 -0600 Subject: Reformat docs for ParseResults bugfix to evaluate ParseResults as True if either list is non empty or results names dict is non empty --- docs/whats_new_in_3_0_0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.1