summaryrefslogtreecommitdiff
path: root/tablib/core.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-03-02 08:42:53 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2019-03-02 08:42:53 -0800
commitb057cdf05e4b9d20f6e1743fc9c63d32c54f1908 (patch)
tree0028b3683bdf022bb1e0676abdca3588de5c1362 /tablib/core.py
parenta10327a2833da8eee952d8b832afc33c3c55b282 (diff)
downloadtablib-b057cdf05e4b9d20f6e1743fc9c63d32c54f1908.tar.gz
Trim trailing white space throughout the project
Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner by avoiding spurious white space changes on unrelated lines.
Diffstat (limited to 'tablib/core.py')
-rw-r--r--tablib/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tablib/core.py b/tablib/core.py
index 78c4dce..0889845 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -541,14 +541,14 @@ class Dataset(object):
.. admonition:: Line endings for Python 3
:class:`Dataset.csv` uses \\r\\n line endings by default so, in Python 3, make
- sure to include newline='' otherwise you will get a blank line between each row
+ sure to include newline='' otherwise you will get a blank line between each row
when you open the file in Excel::
with open('output.csv', 'w', newline='') as f:
f.write(data.csv)
If you do not do this, and you export the file on Windows, your
- CSV file will open in Excel with a blank line between each row.
+ CSV file will open in Excel with a blank line between each row.
"""
pass