[docs] Documentation Bug in OS.makedirs?
zachary.ware+pydocs at gmail.com
Thu Mar 20 18:00:18 CET 2014
On Mon, Mar 17, 2014 at 1:13 PM, Colin Davis <e1ven at e1ven.com> wrote:
> I'm trying to use os.makedirs on Py3 (3.3 or 3.4) and pass in a path-
> This works when I do so positionally, but throws an exception when I do so
> by keyword.
> You can see an example at https://gist.github.com/e1ven/bb269423a7043e6fdc77
> When you look in the code at
> (http://hg.python.org/cpython/file/3bb83f18851f/Lib/os.py) it looks like
> it's looking for the parameter "name", but the docs
> (http://docs.python.org/3.4/library/os.html) seem to say to pass "path".
> Perhaps the Docs are incorrect here?
Indeed they are. This has been fixed in 8d53d3f61b0c and will be live soon.
Thanks for the report!
More information about the docs