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

Skip to content

Commit 2a21f6a

Browse files
[po] auto sync
1 parent 351d55c commit 2a21f6a

39 files changed

Lines changed: 246 additions & 237 deletions

c-api/arg.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ msgstr "解析参数并构建值变量"
3838
#: ../../c-api/arg.rst:8
3939
msgid ""
4040
"These functions are useful when creating your own extensions functions and "
41-
"methods. Additional information and examples are available in :ref"
42-
":`extending-index`."
41+
"methods. Additional information and examples are available in "
42+
":ref:`extending-index`."
4343
msgstr "在创建你自己的扩展函数和方法时,这些函数是有用的。其它的信息和样例见 :ref:`extending-index` 。"
4444

4545
#: ../../c-api/arg.rst:12

c-api/index.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ msgstr "Python/C API 参考手册"
2929
#: ../../c-api/index.rst:7
3030
msgid ""
3131
"This manual documents the API used by C and C++ programmers who want to "
32-
"write extension modules or embed Python. It is a companion to :ref"
33-
":`extending-index`, which describes the general principles of extension "
32+
"write extension modules or embed Python. It is a companion to "
33+
":ref:`extending-index`, which describes the general principles of extension "
3434
"writing but does not document the API functions in detail."
3535
msgstr ""
36-
"本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 :ref"
37-
":`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"
36+
"本手册描述了希望编写扩展模块并将 Python 解释器嵌入其应用程序中的 C 和 C++ 程序员可用的 API。同时可以参阅 "
37+
":ref:`extending-index` ,其中描述了扩展编写的一般原则,但没有详细描述 API 函数。"

c-api/intro.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -793,11 +793,11 @@ msgstr ""
793793
msgid ""
794794
"Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined "
795795
"produces what is generally meant by :ref:`a debug build of Python <debug-"
796-
"build>`. :c:macro:`Py_DEBUG` is enabled in the Unix build by adding :option"
797-
":`--with-pydebug` to the :file:`./configure` command. It is also implied by "
798-
"the presence of the not-Python-specific :c:macro:`_DEBUG` macro. When "
799-
":c:macro:`Py_DEBUG` is enabled in the Unix build, compiler optimization is "
800-
"disabled."
796+
"build>`. :c:macro:`Py_DEBUG` is enabled in the Unix build by adding "
797+
":option:`--with-pydebug` to the :file:`./configure` command. It is also "
798+
"implied by the presence of the not-Python-specific :c:macro:`_DEBUG` macro."
799+
" When :c:macro:`Py_DEBUG` is enabled in the Unix build, compiler "
800+
"optimization is disabled."
801801
msgstr ""
802802

803803
#: ../../c-api/intro.rst:752

distutils/apiref.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ msgstr "*maintainer*"
158158
#: ../../distutils/apiref.rst:61
159159
msgid ""
160160
"The name of the current maintainer, if different from the author. Note that "
161-
"if the maintainer is provided, distutils will use it as the author in :file"
162-
":`PKG-INFO`"
161+
"if the maintainer is provided, distutils will use it as the author in "
162+
":file:`PKG-INFO`"
163163
msgstr ""
164164

165165
#: ../../distutils/apiref.rst:68

distutils/introduction.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ msgstr ""
4343
msgid ""
4444
"This document covers using the Distutils to distribute your Python modules, "
4545
"concentrating on the role of developer/distributor: if you're looking for "
46-
"information on installing Python modules, you should refer to the :ref"
47-
":`install-index` chapter."
46+
"information on installing Python modules, you should refer to the "
47+
":ref:`install-index` chapter."
4848
msgstr ""
4949
"本文档介绍了使用 Distutils 模块分发你的 Python 模块,主要是针对开发者/分发者的使用的——如果你想了解如何安装 Python "
5050
"模块,你应该参考这个章节: :ref:`install-index`。"

faq/design.po

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -443,9 +443,9 @@ msgstr ""
443443

444444
#: ../../faq/design.rst:304
445445
msgid ""
446-
"Answer 2: Fortunately, there is `Stackless Python <https://github.com"
447-
"/stackless-dev/stackless/wiki>`_, which has a completely redesigned "
448-
"interpreter loop that avoids the C stack."
446+
"Answer 2: Fortunately, there is `Stackless Python "
447+
"<https://github.com/stackless-dev/stackless/wiki>`_, which has a completely "
448+
"redesigned interpreter loop that avoids the C stack."
449449
msgstr ""
450450
"答案2: 幸运的是, `Stackless Python <https://github.com/stackless-"
451451
"dev/stackless/wiki>`_ 有一个完全重新设计的解释器循环,可以避免C堆栈。"
@@ -521,8 +521,8 @@ msgid ""
521521
"reference counting implementation."
522522
msgstr ""
523523
"但是,其他实现(如 `Jython <http://www.jython.org>`_ 或 `PyPy "
524-
"<http://www.pypy.org>`_ ),)可以依赖不同的机制,如完全的垃圾回收器 "
525-
"。如果你的Python代码依赖于引用计数实现的行为,则这种差异可能会导致一些微妙的移植问题。"
524+
"<http://www.pypy.org>`_ "
525+
"),)可以依赖不同的机制,如完全的垃圾回收器 。如果你的Python代码依赖于引用计数实现的行为,则这种差异可能会导致一些微妙的移植问题。"
526526

527527
#: ../../faq/design.rst:351
528528
msgid ""
@@ -962,8 +962,8 @@ msgid ""
962962
" pass on the string quote character by escaping it with a backslash. These "
963963
"rules work well when r-strings are used for their intended purpose."
964964
msgstr ""
965-
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串"
966-
"。当r-string用于它们的预期目的时,这些规则工作的很好。"
965+
"原始字符串的设计是为了方便想要执行自己的反斜杠转义处理的处理器(主要是正则表达式引擎)创建输入。此类处理器将不匹配的尾随反斜杠视为错误,因此原始字符串不允许这样做。反过来,允许通过使用引号字符转义反斜杠转义字符串。当r-"
966+
"string用于它们的预期目的时,这些规则工作的很好。"
967967

968968
#: ../../faq/design.rst:644
969969
msgid ""

faq/extending.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ msgstr "可以使用 C 语言创建自己的函数吗?"
3737
#: ../../faq/extending.rst:18
3838
msgid ""
3939
"Yes, you can create built-in modules containing functions, variables, "
40-
"exceptions and even new types in C. This is explained in the document :ref"
41-
":`extending-index`."
40+
"exceptions and even new types in C. This is explained in the document "
41+
":ref:`extending-index`."
4242
msgstr "是的,您可以在C中创建包含函数、变量、异常甚至新类型的内置模块。在文档 :ref:`extending-index` 中有说明。"
4343

4444
#: ../../faq/extending.rst:22

faq/general.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ msgid ""
219219
"between files), internet protocols (HTTP, FTP, SMTP, XML-RPC, POP, IMAP, CGI"
220220
" programming), software engineering (unit testing, logging, profiling, "
221221
"parsing Python code), and operating system interfaces (system calls, "
222-
"filesystems, TCP/IP sockets). Look at the table of contents for :ref"
223-
":`library-index` to get an idea of what's available. A wide variety of "
222+
"filesystems, TCP/IP sockets). Look at the table of contents for "
223+
":ref:`library-index` to get an idea of what's available. A wide variety of "
224224
"third-party extensions are also available. Consult `the Python Package "
225225
"Index <https://pypi.org>`_ to find packages of interest to you."
226226
msgstr ""

faq/library.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,12 @@ msgstr "怎样用 docstring 创建文档?"
293293
msgid ""
294294
"The :mod:`pydoc` module can create HTML from the doc strings in your Python "
295295
"source code. An alternative for creating API documentation purely from "
296-
"docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx <http"
297-
"://sphinx-doc.org>`_ can also include docstring content."
296+
"docstrings is `epydoc <http://epydoc.sourceforge.net/>`_. `Sphinx "
297+
"<http://sphinx-doc.org>`_ can also include docstring content."
298298
msgstr ""
299299
":mod:`pydoc` 模块可以用 Python 源码中的 docstring 创建 HTML 文件。也可以使用 `epydoc "
300-
"<http://epydoc.sourceforge.net/>`_ 来只通过 docstring 创建 API 文档。`Sphinx <http"
301-
"://sphinx-doc.org>`_ 也可以引入 docstring 的内容。"
300+
"<http://epydoc.sourceforge.net/>`_ 来只通过 docstring 创建 API 文档。`Sphinx "
301+
"<http://sphinx-doc.org>`_ 也可以引入 docstring 的内容。"
302302

303303
#: ../../faq/library.rst:191
304304
msgid "How do I get a single keypress at a time?"

faq/programming.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ msgstr ""
142142

143143
#: ../../faq/programming.rst:63
144144
msgid ""
145-
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre <https"
146-
"://pyre-check.org/>`_, and `Pytype <https://github.com/google/pytype>`_ can "
147-
"check type hints in Python source code."
145+
"Static type checkers such as `Mypy <http://mypy-lang.org/>`_, `Pyre "
146+
"<https://pyre-check.org/>`_, and `Pytype "
147+
"<https://github.com/google/pytype>`_ can check type hints in Python source "
148+
"code."
148149
msgstr ""
149150
"静态类型检查器,例如 `Mypy <http://mypy-lang.org/>`_ 、 `Pyre <https://pyre-"
150151
"check.org/>`_ 和 `Pytype <https://github.com/google/pytype>`_ "

0 commit comments

Comments
 (0)