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

Skip to content

Commit 11c443e

Browse files
committed
[po] auto sync bot
1 parent 26d85f4 commit 11c443e

2 files changed

Lines changed: 16 additions & 6 deletions

File tree

tutorial/stdlib2.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2019, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
77
# ww song <[email protected]>, 2018
88
# Henry Zhu <[email protected]>, 2018
99
# SKY H. <[email protected]>, 2018
10+
# Freesand Leo <[email protected]>, 2019
1011
#
1112
#, fuzzy
1213
msgid ""
1314
msgstr ""
1415
"Project-Id-Version: Python 3.7\n"
1516
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
17+
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1718
"PO-Revision-Date: 2017-02-16 23:41+0000\n"
18-
"Last-Translator: SKY H. <sky19960802@gmail.com>, 2018\n"
19+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1920
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2021
"MIME-Version: 1.0\n"
2122
"Content-Type: text/plain; charset=UTF-8\n"
@@ -234,6 +235,8 @@ msgid ""
234235
" and :term:`garbage collection` to eliminate cycles). The memory is freed "
235236
"shortly after the last reference to it has been eliminated."
236237
msgstr ""
238+
"Python 会自动进行内存管理(对大多数对象进行引用计数并使用 :term:`garbage collection` 来清除循环引用)。 "
239+
"当某个对象的最后一个引用被移除后不久就会释放其所占用的内存。"
237240

238241
#: ../../tutorial/stdlib2.rst:254
239242
msgid ""
@@ -246,6 +249,9 @@ msgid ""
246249
"weakref objects. Typical applications include caching objects that are "
247250
"expensive to create::"
248251
msgstr ""
252+
"此方式对大多数应用来说都适用,但偶尔也必须在对象持续被其他对象所使用时跟踪它们。 不幸的是,跟踪它们将创建一个会令其永久化的引用。 "
253+
":mod:`weakref` 模块提供的工具可以不必创建引用就能跟踪对象。 "
254+
"当对象不再需要时,它将自动从一个弱引用表中被移除,并为弱引用对象触发一个回调。 典型应用包括对创建开销较大的对象进行缓存::"
249255

250256
#: ../../tutorial/stdlib2.rst:289
251257
msgid "Tools for Working with Lists"

whatsnew/3.7.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,18 +431,22 @@ msgid ""
431431
"debugger of choice. Set ``PYTHONBREAKPOINT=0`` to completely disable built-"
432432
"in ``breakpoint()``."
433433
msgstr ""
434+
"内置 ``breakpoint()`` 会调用 :func:`sys.breakpointhook`。 在默认情况下后者会导入 :mod:`pdb` "
435+
"然后再调用 ``pdb.set_trace()``,但是通过将 ``sys.breakpointhook()`` "
436+
"绑定到你选定的函数,``breakpoint()`` 可以进入任何调试器。 此外,环境变量 :envvar:`PYTHONBREAKPOINT` "
437+
"可被设置为你选定的调试器的可调用对象。 设置 ``PYTHONBREAKPOINT=0`` 会完全禁用内置 ``breakpoint()``。"
434438

435439
#: ../../whatsnew/3.7.rst:281
436440
msgid ":pep:`553` -- Built-in breakpoint()"
437-
msgstr ""
441+
msgstr ":pep:`553` -- 内置的 breakpoint()"
438442

439443
#: ../../whatsnew/3.7.rst:282
440444
msgid "PEP written and implemented by Barry Warsaw"
441-
msgstr ""
445+
msgstr "PEP 由 Barry Warsaw 撰写并实现"
442446

443447
#: ../../whatsnew/3.7.rst:288
444448
msgid "PEP 539: New C API for Thread-Local Storage"
445-
msgstr ""
449+
msgstr "PEP 539: 用于线程局部存储的新 C API"
446450

447451
#: ../../whatsnew/3.7.rst:290
448452
msgid ""

0 commit comments

Comments
 (0)