File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,29 +314,33 @@ msgid ""
314314"have an ``opt-`` tag and are usually smaller. Future releases may change "
315315"the effects of optimization."
316316msgstr ""
317+ "你可以在Python命令中使用:option:`-O`或者:option:`-OO`开关, 以减小编译后模块的大小。 ``-O`` 开关去除断言声明,"
318+ " ``-OO`` "
319+ "开关同时去除断言声明和文档字符串。由于有些程序或许依赖于这些声明和文档,您应当只有在清楚这么做的后果时才使用这个选项。“优化过的”模块有一个``opt-``"
320+ " 标签并且通常小些。将来的发行版本或许会更改优化的效果。"
317321
318322#: ../../tutorial/modules.rst:244
319323msgid ""
320324"A program doesn't run any faster when it is read from a ``.pyc`` file than "
321325"when it is read from a ``.py`` file; the only thing that's faster about "
322326"``.pyc`` files is the speed with which they are loaded."
323- msgstr ""
327+ msgstr "一个从``.pyc``文件读出的程序并不会比它从``.py`` 读出时运行的更快,``.pyc`` 文件唯一快的地方在于载入速度。 "
324328
325329#: ../../tutorial/modules.rst:248
326330msgid ""
327331"The module :mod:`compileall` can create .pyc files for all modules in a "
328332"directory."
329- msgstr ""
333+ msgstr ":mod:`compileall` 模块可以为一个目录下的所有模块创建.pyc文件。 "
330334
331335#: ../../tutorial/modules.rst:251
332336msgid ""
333337"There is more detail on this process, including a flow chart of the "
334338"decisions, in :pep:`3147`."
335- msgstr ""
339+ msgstr "关于这个过程,:pep:`3147`中有更多细节,包括一个决策流程图。 "
336340
337341#: ../../tutorial/modules.rst:258
338342msgid "Standard Modules"
339- msgstr ""
343+ msgstr "标准模块 "
340344
341345#: ../../tutorial/modules.rst:262
342346msgid ""
You can’t perform that action at this time.
0 commit comments