Skip to content

Sync with CPython 3.10 #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions c-api/arg.po
Original file line number Diff line number Diff line change
Expand Up @@ -1011,35 +1011,35 @@ msgstr "將一個 C 的 :c:type:`short int` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:596
msgid "Convert a C :c:type:`long int` to a Python integer object."
msgstr "將一個 C 的 C :c:type:`long int` 轉換成 Python 整數物件。"
msgstr "將一個 C 的 :c:type:`long int` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:599
msgid "Convert a C :c:type:`unsigned char` to a Python integer object."
msgstr "將一個 C 的 C :c:type:`unsigned char` 轉換成 Python 整數物件。"
msgstr "將一個 C 的 :c:type:`unsigned char` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:602
msgid "Convert a C :c:type:`unsigned short int` to a Python integer object."
msgstr "將一個 C 的 :c:type:`unsigned short int` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:605
msgid "Convert a C :c:type:`unsigned int` to a Python integer object."
msgstr "將一個 C 的 C :c:type:`unsigned int` 轉換成 Python 整數物件。"
msgstr "將一個 C 的 :c:type:`unsigned int` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:608
msgid "Convert a C :c:type:`unsigned long` to a Python integer object."
msgstr "將一個 C 的 C :c:type:`unsigned long` 轉換成 Python 整數物件。"
msgstr "將一個 C 的 :c:type:`unsigned long` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:611
msgid "Convert a C :c:type:`long long` to a Python integer object."
msgstr "將一個 C 的 C :c:type:`long long` 轉換成 Python 整數物件。"
msgstr "將一個 C 的 :c:type:`long long` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:614
msgid "Convert a C :c:type:`unsigned long long` to a Python integer object."
msgstr "將一個 C 的 :c:type:`unsigned long long` 轉換成 Python 整數物件。"

#: ../../c-api/arg.rst:617
msgid "Convert a C :c:type:`Py_ssize_t` to a Python integer."
msgstr ""
msgstr "將一個 C 的 :c:type:`Py_ssize_t` 轉換成 Python 整數。"

#: ../../c-api/arg.rst:621
msgid "``c`` (:class:`bytes` of length 1) [char]"
Expand All @@ -1059,11 +1059,11 @@ msgstr ""

#: ../../c-api/arg.rst:628
msgid "Convert a C :c:type:`double` to a Python floating point number."
msgstr ""
msgstr "將一個 C 的 :c:type:`double` 轉換成 Python 浮點數。"

#: ../../c-api/arg.rst:631
msgid "Convert a C :c:type:`float` to a Python floating point number."
msgstr ""
msgstr "將一個 C 的 :c:type:`float` 轉換成 Python 浮點數。"

#: ../../c-api/arg.rst:634
msgid "``D`` (:class:`complex`) [Py_complex \\*]"
Expand Down
2 changes: 1 addition & 1 deletion c-api/contextvars.po
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ msgstr ""

#: ../../c-api/contextvars.rst:24
msgid "See :issue:`34762` for more details."
msgstr ""
msgstr "更多細節請見 :issue:`34762`\\ 。"

#: ../../c-api/contextvars.rst:29
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/import.po
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ msgstr ""

#: ../../c-api/import.rst:159
msgid "See also :c:func:`PyImport_ExecCodeModuleWithPathnames`."
msgstr ""
msgstr "也請見 :c:func:`PyImport_ExecCodeModuleWithPathnames`\\ 。"

#: ../../c-api/import.rst:164
msgid ""
Expand Down
8 changes: 4 additions & 4 deletions c-api/init.po
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ msgstr ""

#: ../../c-api/init.rst:161
msgid "See :pep:`529` for more details."
msgstr ""
msgstr "更多詳情請見 :pep:`529`\\ 。"

#: ../../c-api/init.rst:163 ../../c-api/init.rst:175
msgid ":ref:`Availability <availability>`: Windows."
Expand All @@ -320,7 +320,7 @@ msgstr ""

#: ../../c-api/init.rst:173
msgid "See :pep:`528` for more details."
msgstr ""
msgstr "更多詳情請見 :pep:`528`\\ 。"

#: ../../c-api/init.rst:179
msgid ""
Expand Down Expand Up @@ -703,7 +703,7 @@ msgstr ""

#: ../../c-api/init.rst:554
msgid "``'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'``"
msgstr ""
msgstr "``'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'``"

#: ../../c-api/init.rst:558
msgid ""
Expand Down Expand Up @@ -1276,7 +1276,7 @@ msgstr ""

#: ../../c-api/init.rst:1119
msgid "See also :c:func:`PyEval_GetFrame`."
msgstr ""
msgstr "也請見 :c:func:`PyEval_GetFrame`\\ 。"

#: ../../c-api/init.rst:1121 ../../c-api/init.rst:1130
#: ../../c-api/init.rst:1139
Expand Down
2 changes: 1 addition & 1 deletion c-api/init_config.po
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ msgstr ""

#: ../../c-api/init_config.rst:800
msgid "See also :c:member:`PyPreConfig.isolated`."
msgstr ""
msgstr "也請見 :c:member:`PyPreConfig.isolated`\\ 。"

#: ../../c-api/init_config.rst:804
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/memory.po
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ msgstr ""

#: ../../c-api/memory.rst:285
msgid "Same as :c:func:`PyMem_Free`."
msgstr ""
msgstr "和 :c:func:`PyMem_Free` 相同。"

#: ../../c-api/memory.rst:287
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/module.po
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ msgstr ""

#: ../../c-api/module.rst:177
msgid "See :PEP:`3121` for more details."
msgstr ""
msgstr "更多詳情請見 :pep:`3121`\\ 。"

#: ../../c-api/module.rst:181
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions c-api/refcounting.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr ""

#: ../../c-api/refcounting.rst:31
msgid "See also :c:func:`Py_XNewRef`."
msgstr ""
msgstr "另請見 :c:func:`Py_XNewRef`\\ 。"

#: ../../c-api/refcounting.rst:36
msgid ""
Expand Down Expand Up @@ -90,7 +90,7 @@ msgstr ""

#: ../../c-api/refcounting.rst:54
msgid "See also :c:func:`Py_INCREF`."
msgstr ""
msgstr "另請參閱 :c:func:`Py_INCREF`\\ 。"

#: ../../c-api/refcounting.rst:61
msgid "Similar to :c:func:`Py_NewRef`, but the object *o* can be NULL."
Expand Down
2 changes: 1 addition & 1 deletion c-api/reflection.po
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ msgstr ""

#: ../../c-api/reflection.rst:31
msgid "See also :c:func:`PyThreadState_GetFrame`."
msgstr ""
msgstr "另請見 :c:func:`PyThreadState_GetFrame`\\ 。"

#: ../../c-api/reflection.rst:36
msgid "Get the *frame* next outer frame."
Expand Down
2 changes: 1 addition & 1 deletion c-api/typeobj.po
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ msgstr ":c:type:`releasebufferproc`"

#: ../../c-api/typeobj.rst:460
msgid "See :ref:`slot-typedefs` below for more detail."
msgstr ""
msgstr "更多細節請見下方的 :ref:`slot-typedefs`\\ 。"

#: ../../c-api/typeobj.rst:464
msgid "PyTypeObject Definition"
Expand Down
4 changes: 2 additions & 2 deletions c-api/unicode.po
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ msgstr ""

#: ../../c-api/unicode.rst:793 ../../c-api/unicode.rst:896
msgid "The :c:func:`Py_DecodeLocale` function."
msgstr ""
msgstr ":c:func:`Py_DecodeLocale` 函式。"

#: ../../c-api/unicode.rst:797
msgid ""
Expand Down Expand Up @@ -1015,7 +1015,7 @@ msgstr ""

#: ../../c-api/unicode.rst:829 ../../c-api/unicode.rst:932
msgid "The :c:func:`Py_EncodeLocale` function."
msgstr ""
msgstr ":c:func:`Py_EncodeLocale` 函式。"

#: ../../c-api/unicode.rst:833
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion c-api/veryhigh.po
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ msgstr ""

#: ../../c-api/veryhigh.rst:368
msgid "Added *cf_feature_version* field."
msgstr ""
msgstr "新增 *cf_feature_version* 欄位。"

#: ../../c-api/veryhigh.rst:374
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion distutils/builtdist.po
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ msgstr "``distribution_name``"

#: ../../distutils/builtdist.rst:240
msgid "BuildRequires"
msgstr ""
msgstr "BuildRequires"

#: ../../distutils/builtdist.rst:240
msgid "``build_requires``"
Expand Down
2 changes: 1 addition & 1 deletion faq/design.po
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ msgstr ""

#: ../../faq/design.rst:164
msgid "See :pep:`572` for more information."
msgstr ""
msgstr "更多資訊請見 :pep:`572`\\ 。"

#: ../../faq/design.rst:169
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion faq/library.po
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ msgstr ""

#: ../../faq/library.rst:619
msgid "https://pypi.org/project/pyserial/"
msgstr ""
msgstr "https://pypi.org/project/pyserial/"

#: ../../faq/library.rst:621
msgid "For Unix, see a Usenet post by Mitch Chapman:"
Expand Down
2 changes: 1 addition & 1 deletion faq/programming.po
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ msgstr ""

#: ../../faq/programming.rst:1436
msgid "See also :ref:`why-self`."
msgstr ""
msgstr "另請參閱 :ref:`why-self`\\ 。"

#: ../../faq/programming.rst:1440
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion howto/clinic.po
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ msgstr ""

#: ../../howto/clinic.rst:1269
msgid "See also :pep:`573`."
msgstr ""
msgstr "也請見 :pep:`573`\\ 。"

#: ../../howto/clinic.rst:1273
msgid "Writing a custom converter"
Expand Down
4 changes: 2 additions & 2 deletions howto/curses.po
Original file line number Diff line number Diff line change
Expand Up @@ -372,15 +372,15 @@ msgstr ""

#: ../../howto/curses.rst:290
msgid "*y*, *x*, *str* or *ch*"
msgstr ""
msgstr "*y*\\ 、\\ *x*\\ 、\\ *str* 或 *ch*"

#: ../../howto/curses.rst:290
msgid "Move to position *y,x* within the window, and display *str* or *ch*"
msgstr ""

#: ../../howto/curses.rst:293
msgid "*y*, *x*, *str* or *ch*, *attr*"
msgstr ""
msgstr "*y*\\ 、\\ *x*\\ 、\\ *str* 或 *ch*\\ 、\\ *attr*"

#: ../../howto/curses.rst:293
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion howto/logging.po
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ msgstr ""

#: ../../howto/logging.rst:564
msgid "Added the ``style`` parameter."
msgstr ""
msgstr "新增 ``style`` 參數。"

#: ../../howto/logging.rst:567
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion library/2to3.po
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ msgstr ""

#: ../../library/2to3.rst:110
msgid "The :option:`!-o` option was added."
msgstr ""
msgstr "新增 :option:`!-o` 選項。"

#: ../../library/2to3.rst:113
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions library/argparse.po
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ msgstr ""

#: ../../library/argparse.rst:99
msgid "Adding arguments"
msgstr ""
msgstr "增加引數"

#: ../../library/argparse.rst:101
msgid ""
Expand Down Expand Up @@ -219,7 +219,7 @@ msgstr ""

#: ../../library/argparse.rst:185
msgid "*allow_abbrev* parameter was added."
msgstr ""
msgstr "新增 *allow_abbrev* 參數。"

#: ../../library/argparse.rst:188
msgid ""
Expand All @@ -229,7 +229,7 @@ msgstr ""

#: ../../library/argparse.rst:192
msgid "*exit_on_error* parameter was added."
msgstr ""
msgstr "新增 *exit_on_error* 參數。"

#: ../../library/argparse.rst:195 ../../library/argparse.rst:715
msgid "The following sections describe how each of these are used."
Expand Down
3 changes: 2 additions & 1 deletion library/ast.po
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ msgstr ""
#: ../../library/ast.rst:1938
msgid "Added ``type_comments``, ``mode='func_type'`` and ``feature_version``."
msgstr ""
"新增 ``type_comments``\\\\ ``mode='func_type'`` 與 ``feature_version``\\ 。"

#: ../../library/ast.rst:1944
msgid ""
Expand Down Expand Up @@ -1214,7 +1215,7 @@ msgstr ""

#: ../../library/ast.rst:2153
msgid "Added the *indent* option."
msgstr ""
msgstr "新增 *indent* 選項。"

#: ../../library/ast.rst:2160
msgid "Compiler Flags"
Expand Down
Loading