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

Skip to content

Commit 897551c

Browse files
committed
[po] auto sync bot
1 parent 7eff6b5 commit 897551c

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

howto/logging-cookbook.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ msgid ""
329329
":class:`Logger` instances becomes effectively unbounded."
330330
msgstr ""
331331
"有时,除了传递给日志记录器调用的参数外,我们还希望日志记录中包含上下文信息。例如,有一个网络应用,可能需要记录一些特殊的客户端信息在日志中(比如客户端的用户名、IP地址等)。虽然你可以通过设置额外的参数去达到这个目的,但这种方式不一定方便。或者你可能想到在每个连接的基础上创建一个"
332-
" :class:`Logger` "
333-
"的实例,但这些实例是不会被垃圾回收的,这在练习中也许不是问题,但当:class:`Logger`的实例数量取决于你应用程序中想记录的细致程度时,这将会变得难以管理如果:class:`Logger`的实例数量变得无限多。"
332+
" :class:`Logger` 的实例,但这些实例是不会被垃圾回收的,这在练习中也许不是问题,但当 :class:`Logger` "
333+
"的实例数量取决于你应用程序中想记录的细致程度时,如果 :class:`Logger` 的实例数量不受限制的话,将会变得难以管理。"
334334

335335
#: ../../howto/logging-cookbook.rst:564
336336
msgid "Using LoggerAdapters to impart contextual information"

library/mmap.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Alex H <[email protected]>, 2019
8+
# Freesand Leo <[email protected]>, 2019
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1516
"PO-Revision-Date: 2017-02-16 23:18+0000\n"
16-
"Last-Translator: Alex H <heyongyi1998@gmail.com>, 2019\n"
17+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2019\n"
1718
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -36,10 +37,10 @@ msgid ""
3637
"write data starting at the current file position, and :meth:`seek` through "
3738
"the file to different positions."
3839
msgstr ""
39-
"内存映射文件对象表现的既像`bytearray`类对象又像文件对象<file "
40-
"object>。你可以在大部分期待`bytearray`类对象的地方使用它;比如你可以使用`re`模块来搜索内存映射文件。你也可以通过 "
41-
"'``obj[index] = 97``'的方式修改它的一个字节,或者通过``obj[i1:i2] = "
42-
"b'...'``向切片赋值来`修改一个子序列。你也可以在当前文件偏移处读取或写入数据,并使用`seek`改变文件偏移。"
40+
"内存映射(mmap)文件对象的行为既像 :class:`bytearray` 又像 :term:`文件对象 <file object>`。 "
41+
"你可以在大部分接受 :class:`bytearray` 的地方使用 mmap 对象;例如,你可以使用 :mod:`re` 模块来搜索一个内存映射文件。"
42+
" 你也可以通过执行 ``obj[index] = 97`` 来修改单个字节,或者通过对切片赋值来修改一个子序列: ``obj[i1:i2] = "
43+
"b'...'``。 你还可以在文件的当前位置开始读取和写入数据,并使用 :meth:`seek` 前往另一个位置。"
4344

4445
#: ../../library/mmap.rst:17
4546
msgid ""

0 commit comments

Comments
 (0)