Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
copy uses copyfile and copymode. Both were updated to support path-like objects in https://github.com/python/cpython/pull/15141 . It makes sense to update copy's documentation too. ---------- nosy: +steve.dower, xtreak title: Outdated shutil.copy documentation -> shutil.copy documentation should clarify support for path-like objects type: -> behavior versions: +Python 3.10, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41646> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com