From 528dc220fd5864a0453258a63b49b64f7de9a0f1 Mon Sep 17 00:00:00 2001 From: Rob Dennis Date: Sat, 1 Mar 2014 12:28:41 -0500 Subject: corrected os.linesep documentation os.sep is used for path seperation, os.linesep is used for line separation --- docs/configobj.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/configobj.rst b/docs/configobj.rst index e6bf5de..2502a92 100644 --- a/docs/configobj.rst +++ b/docs/configobj.rst @@ -895,7 +895,7 @@ newlines When a config file is read, ConfigObj records the type of newline separators in the file and uses this separator when writing. It defaults to ``None``, and ConfigObj -uses the system default (``os.sep``) if write is called without newlines having +uses the system default (``os.linesep``) if write is called without newlines having been set. -- cgit v1.2.1