From 541159939d8679e3f0550f4f3f756c3a6a805432 Mon Sep 17 00:00:00 2001 From: Matt Carmody <33763384+mattcarmody@users.noreply.github.com> Date: Sun, 22 Mar 2020 00:40:48 +0000 Subject: Housekeeping (#191) * Correct docstring typo in helpers.py * Remove repetitive imports of pyparsing in tests * Move repetitive pyparsing_common calls to module level ppc * Correct docstrings inline code typos --- pyparsing/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyparsing/helpers.py') diff --git a/pyparsing/helpers.py b/pyparsing/helpers.py index c4b84d7..5408885 100644 --- a/pyparsing/helpers.py +++ b/pyparsing/helpers.py @@ -150,7 +150,7 @@ def oneOf(strs, caseless=False, useRegex=True, asKeyword=False): generate a Regex object; otherwise, will generate a :class:`MatchFirst` object (if ``caseless=True`` or ``asKeyword=True``, or if creating a :class:`Regex` raises an exception) - - asKeyword - (default=``False``) - enforce Keyword-style matching on the + - asKeyword - (default= ``False``) - enforce Keyword-style matching on the generated expressions Example:: -- cgit v1.2.1