66# Translators:
77# cissoid <[email protected] >, 201888# Junkai Shao <[email protected] >, 20189+ # Freesand Leo <[email protected] >, 2018910#
1011#, fuzzy
1112msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415"Report-Msgid-Bugs-To : \n "
1516"POT-Creation-Date : 2018-09-20 09:13+0900\n "
1617"PO-Revision-Date : 2017-02-16 23:40+0000\n "
17- "Last-Translator : Junkai Shao <skaifun.dev@gmail .com>, 2018\n "
18+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2018\n "
1819"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1920"MIME-Version : 1.0\n "
2021"Content-Type : text/plain; charset=UTF-8\n "
@@ -61,8 +62,8 @@ msgid ""
6162"Inside this string, you can write a Python expression between ``{`` and "
6263"``}`` characters that can refer to variables or literal values."
6364msgstr ""
64- "要使用 :ref:`formatted string literals <tut-f-strings>` ,请在字符串的开始引号或三引号之前加上一个 "
65- "``f`` 或 ``F`` 。在此字符串中,你可以在 ``{`` 和 ``}`` 字符之间写可以引用的变量或字面值的Python表达式 。"
65+ "要使用 :ref:`格式字字符串字面值 <tut-f-strings>` ,请在字符串的开始引号或三引号之前加上一个 ``f`` 或 ``F`` "
66+ "。在此字符串中,你可以在 ``{`` 和 ``}`` 字符之间写可以引用的变量或字面值的 Python 表达式 。"
6667
6768#: ../../tutorial/inputoutput.rst:37
6869msgid ""
@@ -131,8 +132,8 @@ msgid ""
131132"prefixing the string with ``f`` or ``F`` and writing expressions as "
132133"``{expression}``."
133134msgstr ""
134- ":ref:`Formatted string literals <f-strings>` (也简称为 f-strings )能让你在字符串前加上 "
135- "``f`` 和 ``F`` 并将表达式写成 `` {expression}`` 来在字符串中包含Python 表达式的值。"
135+ ":ref:`格式化字符串字面值 <f-strings>` (常简称为 f-字符串 )能让你在字符串前加上 ``f`` 和 ``F`` 并将表达式写成 "
136+ "``{expression}`` 来在字符串中包含 Python 表达式的值。"
136137
137138#: ../../tutorial/inputoutput.rst:107
138139msgid ""
@@ -164,7 +165,7 @@ msgstr "有关这些格式规范的参考,请参阅参考指南 :ref:`formatsp
164165
165166#: ../../tutorial/inputoutput.rst:142
166167msgid "The String format() Method"
167- msgstr "字符串format () 方法"
168+ msgstr "字符串的 format () 方法"
168169
169170#: ../../tutorial/inputoutput.rst:144
170171msgid "Basic usage of the :meth:`str.format` method looks like this::"
@@ -177,8 +178,8 @@ msgid ""
177178" brackets can be used to refer to the position of the object passed into the"
178179" :meth:`str.format` method. ::"
179180msgstr ""
180- "花括号和其中的字符(称为格式字段)将替换为传递给 :meth:`str.format` 方法的对象。花括号中的数字可用来表示传递给 "
181- ":meth:`str.format` 方法的对象的位置。"
181+ "花括号和其中的字符(称为格式字段)将替换为传递给 :meth:`str.format` 方法的对象。花括号中的数字可用来表示传递给 "
182+ ":meth:`str.format` 方法的对象的位置。"
182183
183184#: ../../tutorial/inputoutput.rst:159
184185msgid ""
@@ -277,7 +278,7 @@ msgstr ""
277278#: ../../tutorial/inputoutput.rst:269
278279msgid ""
279280"More information can be found in the :ref:`old-string-formatting` section."
280- msgstr "可在 :ref:`old-string-formatting` 部分找到更多信息。"
281+ msgstr "可在 :ref:`old-string-formatting` 部分找到更多信息。"
281282
282283#: ../../tutorial/inputoutput.rst:275
283284msgid "Reading and Writing Files"
@@ -343,7 +344,7 @@ msgid ""
343344":keyword:`try`\\ -\\ :keyword:`finally` blocks::"
344345msgstr ""
345346"在处理文件对象时,最好使用 :keyword:`with` 关键字。优点是文件在套件完成后正确关闭,即使在某个时刻发生了异常。而且使用 "
346- ":keyword:`with` 比等效的 :keyword:`try`\\ -\\ :keyword:`finally` 块要短得多::"
347+ ":keyword:`with` 比等效的 :keyword:`try`\\ -\\ :keyword:`finally` 块要短得多::"
347348
348349#: ../../tutorial/inputoutput.rst:328
349350msgid ""
@@ -554,6 +555,6 @@ msgid ""
554555"pickle data coming from an untrusted source can execute arbitrary code, if "
555556"the data was crafted by a skilled attacker."
556557msgstr ""
557- "与 :ref:`JSON <tut-json>` 相反的是 ,*pickle* 是一种允许对任意复杂Python "
558- "对象进行序列化的协议。因此,它特定于Python, 不能用于与其他语言编写的应用程序通信。默认情况下它也是不安全的:如果数据是由熟练的攻击者精心设计的,则反序列化来自不受信任来源的"
559- " pickle 数据可以执行任意代码。"
558+ "与 :ref:`JSON <tut-json>` 不同 ,*pickle* 是一种允许对任意复杂 Python 对象进行序列化的协议。因此,它为 "
559+ "Python 所特有, 不能用于与其他语言编写的应用程序通信。默认情况下它也是不安全的:如果数据是由熟练的攻击者精心设计的,则反序列化来自不受信任来源的 "
560+ "pickle 数据可以执行任意代码。"
0 commit comments