New submission from nikkie <takuya...@gmail.com>:

"copy()" is not a link to shutil.copy, but a link to the copy module.

https://docs.python.org/3/library/shutil.html#platform-dependent-efficient-copy-operations
>Starting from Python 3.8 all functions involving a file copy (copyfile(), 
>copy(), copy2(), copytree(), and move()) may use ...

# As is

https://docs.python.org/3/library/copy.html#module-copy

# To be

https://docs.python.org/3/library/shutil.html#shutil.copy


The reference of :func:`copy` does not seem to be resolved properly.
https://github.com/python/cpython/blob/ea46579067fd2d4e164d6605719ffec690c4d621/Doc/library/shutil.rst#platform-dependent-efficient-copy-operations

----------
assignee: docs@python
components: Documentation
messages: 386828
nosy: docs@python, nikkie
priority: normal
severity: normal
status: open
title: link to copy module in shutil document, not to shutil.copy
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43200>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to