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

Skip to content

Commit 89fb3dc

Browse files
[po] auto sync
1 parent 8305516 commit 89fb3dc

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

library/os.po

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3848,32 +3848,40 @@ msgid ""
38483848
"This example displays the number of bytes taken by non-directory files in "
38493849
"each directory under the starting directory, except that it doesn't look "
38503850
"under any CVS subdirectory::"
3851-
msgstr ""
3851+
msgstr "下面的示例遍历起始目录内所有子目录,打印每个目录内的文件占用的字节数,CVS 子目录不会被遍历::"
38523852

38533853
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2990
38543854
msgid ""
38553855
"In the next example (simple implementation of :func:`shutil.rmtree`), "
38563856
"walking the tree bottom-up is essential, :func:`rmdir` doesn't allow "
38573857
"deleting a directory before the directory is empty::"
38583858
msgstr ""
3859+
"在下一个示例(:func:`shutil.rmtree` 的简单实现)中,必须使树自下而上,因为 :func:`rmdir` "
3860+
"只允许在目录为空时删除目录::"
38593861

38603862
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3005
38613863
msgid ""
38623864
"This function now calls :func:`os.scandir` instead of :func:`os.listdir`, "
38633865
"making it faster by reducing the number of calls to :func:`os.stat`."
38643866
msgstr ""
3867+
"现在,本函数调用的是 :func:`os.scandir` 而不是 :func:`os.listdir`,从而减少了调用 :func:`os.stat`"
3868+
" 的次数而变得更快。"
38653869

38663870
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3019
38673871
msgid ""
38683872
"This behaves exactly like :func:`walk`, except that it yields a 4-tuple "
38693873
"``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``."
38703874
msgstr ""
3875+
"本方法的行为与 :func:`walk` 完全一样,除了它产生的是 4 元组 ``(dirpath, dirnames, filenames, "
3876+
"dirfd)``,并且它支持 ``dir_fd``。"
38713877

38723878
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3022
38733879
msgid ""
38743880
"*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, "
38753881
"and *dirfd* is a file descriptor referring to the directory *dirpath*."
38763882
msgstr ""
3883+
"*dirpath*、*dirnames* 和 *filenames* 与 :func:`walk` 输出的相同,*dirfd* 是指向目录 "
3884+
"*dirpath* 的文件描述符。"
38773885

38783886
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3025
38793887
msgid ""
@@ -3898,7 +3906,7 @@ msgstr ""
38983906

38993907
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3071
39003908
msgid "Added support for :class:`bytes` paths."
3901-
msgstr ""
3909+
msgstr "添加了对 :class:`bytes` 类型路径的支持。"
39023910

39033911
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:3077
39043912
msgid ""

0 commit comments

Comments
 (0)