summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-07-02 21:28:04 (GMT)
committerFred Drake <fdrake@acm.org>2002-07-02 21:28:04 (GMT)
commitcadb9eb8f681f8bb9f4718df5bebe9ad8f221f5e (patch)
tree88b4d5af58d6464a3ba6974b906cf0340c1e38de /Lib/os.py
parent2c22e85ae71825b8368b73c86b5ebaca6020dac7 (diff)
downloadcpython-cadb9eb8f681f8bb9f4718df5bebe9ad8f221f5e.zip
cpython-cadb9eb8f681f8bb9f4718df5bebe9ad8f221f5e.tar.gz
cpython-cadb9eb8f681f8bb9f4718df5bebe9ad8f221f5e.tar.bz2
Be consistent with the functions in the posix/nt module: docstrings
don't include a " -> None" for functions that have no return value.
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/os.py b/Lib/os.py
index edffa47..f7929b4 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -198,7 +198,7 @@ sys.modules['os.path'] = path
# (Inspired by Eric Raymond; the doc strings are mostly his)
def makedirs(name, mode=0777):
- """makedirs(path [, mode=0777]) -> None
+ """makedirs(path [, mode=0777])
Super-mkdir; create a leaf directory and all intermediate ones.
Works like mkdir, except that any intermediate path segment (not
@@ -214,7 +214,7 @@ def makedirs(name, mode=0777):
mkdir(name, mode)
def removedirs(name):
- """removedirs(path) -> None
+ """removedirs(path)
Super-rmdir; remove a leaf directory and empty all intermediate
ones. Works like rmdir except that, if the leaf directory is
@@ -236,7 +236,7 @@ def removedirs(name):
head, tail = path.split(head)
def renames(old, new):
- """renames(old, new) -> None
+ """renames(old, new)
Super-rename; create directories as necessary and delete any left
empty. Works like rename, except creation of any intermediate