summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-03-20 14:42:01 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-03-20 14:42:01 (GMT)
commita22ae21db6a7e9f1833c73dc91fb621b86be6146 (patch)
treed3bec555bf808317a7f23bf3975763ca18e2c058 /Lib/os.py
parentd852e997f4117f30b62874cdbfc28e93ee3804c4 (diff)
downloadcpython-a22ae21db6a7e9f1833c73dc91fb621b86be6146.zip
cpython-a22ae21db6a7e9f1833c73dc91fb621b86be6146.tar.gz
cpython-a22ae21db6a7e9f1833c73dc91fb621b86be6146.tar.bz2
Fix parameter name in docs for os.makedirs and os.removedirs.
Pointed out by Colin Davis on docs@.
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/os.py b/Lib/os.py
index e9880a1..fa0fbb9 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -216,7 +216,7 @@ def _get_masked_mode(mode):
# (Inspired by Eric Raymond; the doc strings are mostly his)
def makedirs(name, mode=0o777, exist_ok=False):
- """makedirs(path [, mode=0o777][, exist_ok=False])
+ """makedirs(name [, mode=0o777][, exist_ok=False])
Super-mkdir; create a leaf directory and all intermediate ones.
Works like mkdir, except that any intermediate path segment (not
@@ -260,7 +260,7 @@ def makedirs(name, mode=0o777, exist_ok=False):
raise
def removedirs(name):
- """removedirs(path)
+ """removedirs(name)
Super-rmdir; remove a leaf directory and all empty intermediate
ones. Works like rmdir except that, if the leaf directory is