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