File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,19 +193,24 @@ msgid ""
193193"to execute :func:`os.stat` on the requested file, even if the *path* "
194194"physically exists."
195195msgstr ""
196+ "如果 *path* 指向一个已存在的路径或已打开的文件描述符,返回 ``True``。对于失效的符号链接,返回 "
197+ "``False``。在某些平台上,如果使用 :func:`os.stat` 查询到目标文件没有执行权限,即使 *path* 确实存在,本函数也可能返回 "
198+ "``False``。"
196199
197200#: ../../library/os.path.rst:144
198201msgid ""
199202"*path* can now be an integer: ``True`` is returned if it is an open file "
200203"descriptor, ``False`` otherwise."
201- msgstr ""
204+ msgstr "*path* 现在可以是一个整数:如果该整数是一个已打开的文件描述符,返回 ``True``,否则返回 ``False``。 "
202205
203206#: ../../library/os.path.rst:154
204207msgid ""
205208"Return ``True`` if *path* refers to an existing path. Returns ``True`` for "
206209"broken symbolic links. Equivalent to :func:`exists` on platforms lacking "
207210":func:`os.lstat`."
208211msgstr ""
212+ "如果 *path* 指向一个已存在的路径,返回 ``True``。对于失效的符号链接,也返回 ``True``。在缺失 :func:`os.lstat`"
213+ " 的平台上等同于 :func:`exists`。"
209214
210215#: ../../library/os.path.rst:166
211216msgid ""
You can’t perform that action at this time.
0 commit comments