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

Skip to content

Commit e72136a

Browse files
committed
[po] auto sync bot
1 parent c6edc41 commit e72136a

1 file changed

Lines changed: 24 additions & 9 deletions

File tree

using/cmdline.po

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,8 @@ msgid ""
942942
"string, it is equivalent to specifying :option:`-W` multiple times, with "
943943
"filters later in the list taking precedence over those earlier in the list."
944944
msgstr ""
945+
"此变量等价于 :option:`-W` 选项。 如果被设为一个以逗号分隔的字符串,它就相当于多次指定 "
946+
":option:`-W`,列表中后出现的过滤器优先级会高于列表中先出现的。"
945947

946948
#: ../../using/cmdline.rst:679
947949
msgid ""
@@ -951,6 +953,9 @@ msgid ""
951953
":const:`SIGILL` signals to dump the Python traceback. This is equivalent to"
952954
" :option:`-X` ``faulthandler`` option."
953955
msgstr ""
956+
"如果此环境变量被设为一个非空字符串,:func:`faulthandler.enable` 会在启动时被调用:为 :const:`SIGSEGV`, "
957+
":const:`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS` 和 :const:`SIGILL` "
958+
"等信号安装一个处理句柄以转储 Python 回溯信息。 此变量等价于 :option:`-X` ``faulthandler`` 选项。"
954959

955960
#: ../../using/cmdline.rst:690
956961
msgid ""
@@ -960,49 +965,57 @@ msgid ""
960965
"trace. For example, ``PYTHONTRACEMALLOC=1`` stores only the most recent "
961966
"frame. See the :func:`tracemalloc.start` for more information."
962967
msgstr ""
968+
"如果此环境变量被设为一个非空字符串,则会使用 :mod:`tracemalloc` 模块启动对 Python 内存分配的跟踪。 "
969+
"该变量的值是保存于跟踪的回溯信息中的最大帧数。 例如,``PYTHONTRACEMALLOC=1`` 只保存最近的帧。 请参阅 "
970+
":func:`tracemalloc.start` 了解详情。"
963971

964972
#: ../../using/cmdline.rst:701
965973
msgid ""
966974
"If this environment variable is set to a non-empty string, Python will show "
967975
"how long each import takes. This is exactly equivalent to setting ``-X "
968976
"importtime`` on the command line."
969977
msgstr ""
978+
"如果此变量被设为一个非空字符串,Python 将显示每次导入花费了多长时间。 此变量完全等价于在命令行为设置 ``-X importtime``。"
970979

971980
#: ../../using/cmdline.rst:710
972981
msgid ""
973982
"If this environment variable is set to a non-empty string, enable the "
974983
":ref:`debug mode <asyncio-debug-mode>` of the :mod:`asyncio` module."
975984
msgstr ""
985+
"如果此变量被设为一个非空字符串,则会启用 :mod:`asyncio` 模块的 :ref:`调试模式 <asyncio-debug-mode>`。"
976986

977987
#: ../../using/cmdline.rst:718
978988
msgid "Set the Python memory allocators and/or install debug hooks."
979-
msgstr ""
989+
msgstr "设置 Python 内存分配器和/或安装调试钩子。"
980990

981991
#: ../../using/cmdline.rst:720
982992
msgid "Set the family of memory allocators used by Python:"
983-
msgstr ""
993+
msgstr "设置 Python 所使用的内存分配器族群:"
984994

985995
#: ../../using/cmdline.rst:722
986996
msgid ""
987997
"``default``: use the :ref:`default memory allocators <default-memory-"
988998
"allocators>`."
989-
msgstr ""
990-
"``default``: 使用 :ref:`default memory allocators <default-memory-"
991-
"allocators>`."
999+
msgstr "``default``: 使用 :ref:`默认内存分配器 <default-memory-allocators>`。"
9921000

9931001
#: ../../using/cmdline.rst:724
9941002
msgid ""
9951003
"``malloc``: use the :c:func:`malloc` function of the C library for all "
9961004
"domains (:c:data:`PYMEM_DOMAIN_RAW`, :c:data:`PYMEM_DOMAIN_MEM`, "
9971005
":c:data:`PYMEM_DOMAIN_OBJ`)."
9981006
msgstr ""
1007+
"``malloc``: 对所有域 (:c:data:`PYMEM_DOMAIN_RAW`, :c:data:`PYMEM_DOMAIN_MEM`, "
1008+
":c:data:`PYMEM_DOMAIN_OBJ`) 使用 C 库的 :c:func:`malloc` 函数。"
9991009

10001010
#: ../../using/cmdline.rst:727
10011011
msgid ""
10021012
"``pymalloc``: use the :ref:`pymalloc allocator <pymalloc>` for "
10031013
":c:data:`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use "
10041014
"the :c:func:`malloc` function for the :c:data:`PYMEM_DOMAIN_RAW` domain."
10051015
msgstr ""
1016+
"``pymalloc``: 对 :c:data:`PYMEM_DOMAIN_MEM` 和 :c:data:`PYMEM_DOMAIN_OBJ` 域使用 "
1017+
":ref:`pymalloc 分配器 <pymalloc>` 而对 :c:data:`PYMEM_DOMAIN_RAW` 域使用 "
1018+
":c:func:`malloc` 函数。"
10061019

10071020
#: ../../using/cmdline.rst:731
10081021
msgid "Install debug hooks:"
@@ -1012,26 +1025,28 @@ msgstr "安装调试钩子:"
10121025
msgid ""
10131026
"``debug``: install debug hooks on top of the :ref:`default memory allocators"
10141027
" <default-memory-allocators>`."
1015-
msgstr ""
1028+
msgstr "``debug``: 在 :ref:`默认内存分配器 <default-memory-allocators>` 之上安装调试钩子。"
10161029

10171030
#: ../../using/cmdline.rst:735
10181031
msgid "``malloc_debug``: same as ``malloc`` but also install debug hooks"
1019-
msgstr ""
1032+
msgstr "``malloc_debug``: 与 ``malloc`` 相同但也安装调试钩子"
10201033

10211034
#: ../../using/cmdline.rst:736
10221035
msgid "``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks"
1023-
msgstr ""
1036+
msgstr "``pymalloc_debug``: 与 ``pymalloc`` 相同但也安装调试钩子"
10241037

10251038
#: ../../using/cmdline.rst:738
10261039
msgid ""
10271040
"See the :ref:`default memory allocators <default-memory-allocators>` and the"
10281041
" :c:func:`PyMem_SetupDebugHooks` function (install debug hooks on Python "
10291042
"memory allocators)."
10301043
msgstr ""
1044+
"请参阅 :ref:`默认内存分配器 <default-memory-allocators>` 以及 "
1045+
":c:func:`PyMem_SetupDebugHooks` 函数(在 Python 内存分配器之上安装调试钩子)。"
10311046

10321047
#: ../../using/cmdline.rst:742
10331048
msgid "Added the ``\"default\"`` allocator."
1034-
msgstr ""
1049+
msgstr "增加了 ``\"default\"`` 分配器。"
10351050

10361051
#: ../../using/cmdline.rst:750
10371052
msgid ""

0 commit comments

Comments
 (0)