summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEric N. Vander Weele <ericvw@gmail.com>2019-07-28 10:39:27 -0400
committerEric N. Vander Weele <ericvw@gmail.com>2019-07-28 10:43:02 -0400
commit9283f2f03f5c8e61eb5a6bca2f10afadb0d90317 (patch)
tree412c412c1601ffa141f49f5f3ebf472bed15e10e /docs
parent9fbaf2d2ea49adb97cc45be83a966fb3c7f292f2 (diff)
downloadflake8-9283f2f03f5c8e61eb5a6bca2f10afadb0d90317.tar.gz
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/source/internal/utils.rst9
1 files changed, 2 insertions, 7 deletions
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