[docs] Documentation Bug in OS.makedirs?

Colin Davis e1ven at e1ven.com
Mon Mar 17 19:13:01 CET 2014

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?

Colin Davis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20140317/e11f1de6/attachment.html>

More information about the docs mailing list