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

Skip to content

Commit 2dd7d12

Browse files
[po] auto sync
1 parent c32d93b commit 2dd7d12

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

library/py_compile.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ msgid ""
6262
"``sys.stderr``, but no exception is raised. This function returns the path "
6363
"to byte-compiled file, i.e. whatever *cfile* value was used."
6464
msgstr ""
65+
"将源文件编译成字节码,并写出字节码缓存文件。源代码从名为 *file* 的文件中加载。 字节码写入 *cfile* ,默认为 "
66+
":pep:`3147`/:pep:`488` 路径,以 ``.pyc`` 结尾。例如,如果 *file* 是 ``/foo/bar/baz.py`` "
67+
",那么对于 Python 3.2,*cfile* 默认为 ``/foo/bar/__pycache__/baz.cpython-32.pyc`` 。 "
68+
"如果指定了 *dfile* ,那么在错误信息中,它将代替 *file* 作为源文件的名称。 如果 *doraise* 为true,当编译 *file* "
69+
"遇到错误时,会抛出一个 :exc:`PyCompileError` 。如果 *doraise* 为 false (默认值),错误字符串将写入 "
70+
"``sys.stderr`` ,但不会抛出异常。 该函数返回编译后字节文件的路径,即 *cfile* 的值。"
6571

6672
#: ../../library/py_compile.rst:45
6773
msgid ""

0 commit comments

Comments
 (0)