From 9283f2f03f5c8e61eb5a6bca2f10afadb0d90317 Mon Sep 17 00:00:00 2001 From: "Eric N. Vander Weele" Date: Sun, 28 Jul 2019 10:39:27 -0400 Subject: utils: Change `parse_comma_separated_list()` contract This is the initial incision point to only accept `str` (or `None`) for parsing out comma/whitespace/regexp separated values. --- docs/source/internal/utils.rst | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'docs/source') diff --git a/docs/source/internal/utils.rst b/docs/source/internal/utils.rst index 31e0d39..2b2638e 100644 --- a/docs/source/internal/utils.rst +++ b/docs/source/internal/utils.rst @@ -25,13 +25,8 @@ "E121,W123,F904" "E121,\nW123,\nF804" - "E121,\n\tW123,\n\tF804" - -Or it will take a list of strings (potentially with whitespace) such as - -.. code-block:: python - - [" E121\n", "\t\nW123 ", "\n\tF904\n "] + " E121,\n\tW123,\n\tF804 " + " E121\n\tW123 \n\tF804" And converts it to a list that looks as follows -- cgit v1.2.1