]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34825: Add more entries to os to pathlib reference table (GH-9608) (#9717)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Oct 2018 16:06:17 +0000 (09:06 -0700)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 5 Oct 2018 16:06:17 +0000 (19:06 +0300)
commit29c40c73143fee3612147959779b6927cd1be7e1
treeb01902daf8e8dde0e8048f13c1fc19125d77c3ce
parentb3c4a050b7b9a07caeeb9ad74af1d3a750000422
bpo-34825: Add more entries to os to pathlib reference table (GH-9608) (#9717)

The added functions are as below :

| os module     | Pathlib       |
| ------------- | ------------- |
| os.chmod   | Path.chmod  |
| os.mkdir  | Path.mkdir  |
| os.rename | Path.rename |
| os.replace | Path.replace |
| os.rmdir  | Path.rmdir |
| os.remove, os.unlink | Path.unlink |
| os.path.samefile | Path.samefile |

Thanks

https://bugs.python.org/issue34825
(cherry picked from commit 6f9c55d1c0bb399911ded00bb6b3e6f43a514ea2)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
Doc/library/pathlib.rst