@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.8\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2020-02-09 12:40 +0000\n "
15+ "POT-Creation-Date : 2020-09-06 15:01 +0000\n "
1616"PO-Revision-Date : 2020-05-30 12:08+0000\n "
1717"
Last-Translator :
Freesand Leo <[email protected] >, 2020\n "
1818"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -57,18 +57,12 @@ msgid ""
5757"ending in ``.pyc``. For example, if *file* is ``/foo/bar/baz.py`` *cfile* "
5858"will default to ``/foo/bar/__pycache__/baz.cpython-32.pyc`` for Python 3.2."
5959" If *dfile* is specified, it is used as the name of the source file in "
60- "error messages when instead of *file*. If *doraise* is true, a "
60+ "error messages instead of *file*. If *doraise* is true, a "
6161":exc:`PyCompileError` is raised when an error is encountered while compiling"
6262" *file*. If *doraise* is false (the default), an error string is written to "
6363"``sys.stderr``, but no exception is raised. This function returns the path "
6464"to byte-compiled file, i.e. whatever *cfile* value was used."
6565msgstr ""
66- "将源文件编译成字节码,并写出字节码缓存文件。源代码从名为 *file* 的文件中加载。 字节码写入 *cfile* ,默认为 "
67- ":pep:`3147`/:pep:`488` 路径,以 ``.pyc`` 结尾。例如,如果 *file* 是 ``/foo/bar/baz.py`` "
68- ",那么对于 Python 3.2,*cfile* 默认为 ``/foo/bar/__pycache__/baz.cpython-32.pyc`` 。 "
69- "如果指定了 *dfile* ,那么在错误信息中,它将代替 *file* 作为源文件的名称。 如果 *doraise* 为true,当编译 *file* "
70- "遇到错误时,会抛出一个 :exc:`PyCompileError` 。如果 *doraise* 为 false (默认值),错误字符串将写入 "
71- "``sys.stderr`` ,但不会抛出异常。 该函数返回编译后字节文件的路径,即 *cfile* 的值。"
7266
7367#: ../../library/py_compile.rst:45
7468msgid ""
0 commit comments