File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -467,7 +467,8 @@ Dialects support the following attributes:
467
467
.. attribute :: Dialect.skipinitialspace
468
468
469
469
When :const: `True `, spaces immediately following the *delimiter * are ignored.
470
- The default is :const: `False `.
470
+ The default is :const: `False `. When combining ``delimiter=' ' `` with
471
+ ``skipinitialspace=True ``, unquoted empty fields are not allowed.
471
472
472
473
473
474
.. attribute :: Dialect.strict
@@ -636,7 +637,7 @@ done::
636
637
.. rubric :: Footnotes
637
638
638
639
.. [1 ] If ``newline='' `` is not specified, newlines embedded inside quoted fields
639
- will not be interpreted correctly, and on platforms that use ``\r\n `` linendings
640
+ will not be interpreted correctly, and on platforms that use ``\r\n `` line endings
640
641
on write an extra ``\r `` will be added. It should always be safe to specify
641
642
``newline='' ``, since the csv module does its own
642
643
(:term: `universal <universal newlines> `) newline handling.
You can’t perform that action at this time.
0 commit comments