]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39470: Indicate that ``os.makedirs`` is equivalent to ``Path.mkdir`` (GH-18216)
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Mon, 4 May 2020 19:47:03 +0000 (16:47 -0300)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 19:47:03 +0000 (16:47 -0300)
* Indicate os.makedirs is equivalent to Path.mkdir

* ðŸ“œðŸ¤– Added by blurb_it.

* ignore news feed

Co-authored-by: nanjekyejoannah <joannah.nanjekye@ibm.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Doc/library/pathlib.rst

index dead49b630dcdf344dbcc9442c33234161b2d37e..83f7c836f0e71cf84a031ac7c7283a0772ddabe7 100644 (file)
@@ -1185,6 +1185,7 @@ os and os.path                         pathlib
 :func:`os.path.abspath`                :meth:`Path.resolve`
 :func:`os.chmod`                       :meth:`Path.chmod`
 :func:`os.mkdir`                       :meth:`Path.mkdir`
+:func:`os.makedirs`                    :meth:`Path.mkdir`
 :func:`os.rename`                      :meth:`Path.rename`
 :func:`os.replace`                     :meth:`Path.replace`
 :func:`os.rmdir`                       :meth:`Path.rmdir`