Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a465b5d

Browse files
sync with cpython d08d5b62
1 parent a02778e commit a465b5d

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

library/shutil.po

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-02-05 00:03+0000\n"
9+
"POT-Creation-Date: 2024-02-17 00:03+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:10+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -54,20 +54,21 @@ msgstr ""
5454

5555
#: ../../library/shutil.rst:42
5656
msgid ""
57-
"Copy the contents of the file-like object *fsrc* to the file-like object "
58-
"*fdst*. The integer *length*, if given, is the buffer size. In particular, a "
59-
"negative *length* value means to copy the data without looping over the "
60-
"source data in chunks; by default the data is read in chunks to avoid "
61-
"uncontrolled memory consumption. Note that if the current file position of "
62-
"the *fsrc* object is not 0, only the contents from the current file position "
63-
"to the end of the file will be copied."
57+
"Copy the contents of the :term:`file-like object <file object>` *fsrc* to "
58+
"the file-like object *fdst*. The integer *length*, if given, is the buffer "
59+
"size. In particular, a negative *length* value means to copy the data "
60+
"without looping over the source data in chunks; by default the data is read "
61+
"in chunks to avoid uncontrolled memory consumption. Note that if the current "
62+
"file position of the *fsrc* object is not 0, only the contents from the "
63+
"current file position to the end of the file will be copied."
6464
msgstr ""
6565

6666
#: ../../library/shutil.rst:53
6767
msgid ""
6868
"Copy the contents (no metadata) of the file named *src* to a file named "
6969
"*dst* and return *dst* in the most efficient way possible. *src* and *dst* "
70-
"are path-like objects or path names given as strings."
70+
"are :term:`path-like objects <path-like object>` or path names given as "
71+
"strings."
7172
msgstr ""
7273

7374
#: ../../library/shutil.rst:57
@@ -130,13 +131,14 @@ msgstr ""
130131
#: ../../library/shutil.rst:96
131132
msgid ""
132133
"Copy the permission bits from *src* to *dst*. The file contents, owner, and "
133-
"group are unaffected. *src* and *dst* are path-like objects or path names "
134-
"given as strings. If *follow_symlinks* is false, and both *src* and *dst* "
135-
"are symbolic links, :func:`copymode` will attempt to modify the mode of "
136-
"*dst* itself (rather than the file it points to). This functionality is not "
137-
"available on every platform; please see :func:`copystat` for more "
138-
"information. If :func:`copymode` cannot modify symbolic links on the local "
139-
"platform, and it is asked to do so, it will do nothing and return."
134+
"group are unaffected. *src* and *dst* are :term:`path-like objects <path-"
135+
"like object>` or path names given as strings. If *follow_symlinks* is false, "
136+
"and both *src* and *dst* are symbolic links, :func:`copymode` will attempt "
137+
"to modify the mode of *dst* itself (rather than the file it points to). "
138+
"This functionality is not available on every platform; please see :func:"
139+
"`copystat` for more information. If :func:`copymode` cannot modify symbolic "
140+
"links on the local platform, and it is asked to do so, it will do nothing "
141+
"and return."
140142
msgstr ""
141143

142144
#: ../../library/shutil.rst:106 ../../library/shutil.rst:179
@@ -156,8 +158,8 @@ msgid ""
156158
"Copy the permission bits, last access time, last modification time, and "
157159
"flags from *src* to *dst*. On Linux, :func:`copystat` also copies the "
158160
"\"extended attributes\" where possible. The file contents, owner, and group "
159-
"are unaffected. *src* and *dst* are path-like objects or path names given "
160-
"as strings."
161+
"are unaffected. *src* and *dst* are :term:`path-like objects <path-like "
162+
"object>` or path names given as strings."
161163
msgstr ""
162164

163165
#: ../../library/shutil.rst:119

0 commit comments

Comments
 (0)