File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 89.53 %" , "updated_at" : " 2023-08-10T09:57:08Z " }
1+ {"translation" : " 89.54 %" , "updated_at" : " 2023-08-10T10:56:32Z " }
Original file line number Diff line number Diff line change @@ -858,6 +858,10 @@ msgid ""
858858" begins with *self*) to a file or directory in *dirpath*, do ``dirpath / "
859859"name``. Whether or not the lists are sorted is file system-dependent."
860860msgstr ""
861+ "*dirpath* 是指向当前正被遍历到的目录的 :class:`Path`,*dirnames* 是由表示 *dirpath* "
862+ "中子目录名称的字符串组成的列表 (不包括 ``'.'`` 和 ``'..'``),*filenames* 是由表示 *dirpath* "
863+ "中非目录文件名称的字符串组成的列表。 要获取 *dirpath* 中文件或目录的完整路径 (以 *self* 开头),可使用 ``dirpath / "
864+ "name``。 这些列表是否排序取决于具体的文件系统。"
861865
862866#: ../../library/pathlib.rst:1066
863867msgid ""
@@ -869,6 +873,9 @@ msgid ""
869873"*top_down*, the list of subdirectories is retrieved before the triples for "
870874"the directory and its subdirectories are walked."
871875msgstr ""
876+ "如果可选参数 *top_down* 为(默认的)真值,则会在所有子目录的三元组生成之前生成父目录的三元组(目录是自上而下遍历的)。 如果 "
877+ "*top_down* 为假值,则会在所有子目录的三元组生成之后再生成父目录的三元组(目录是是自下而上遍历的)。无论 *top_down* "
878+ "的值是什么,都会在遍历目录及其子目录的三元组之前提取子目录列表。"
872879
873880#: ../../library/pathlib.rst:1074
874881msgid ""
You can’t perform that action at this time.
0 commit comments