bpo-34825: Add more entries to os to pathlib reference table by tirkarthi · Pull Request #9608 · python/cpython

@tirkarthi

asvetlov

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Oct 5, 2018
…H-9608)

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 6f9c55d)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>

asvetlov pushed a commit that referenced this pull request

Oct 5, 2018
#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 6f9c55d)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>