Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2f6d0eb

Browse filesBrowse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.12 (#739)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent bff0132 commit 2f6d0eb
Copy full SHA for 2f6d0eb

24 files changed

+3091
-2958
lines changed

‎.scripts/summarize_progress/main.py

Copy file name to clipboardExpand all lines: .scripts/summarize_progress/main.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def get_github_issues() -> list:
7777
match = re.search("(?P<dirname>[^\s`][a-zA-z-]+)/(?P<filename>[a-zA-Z0-9._-]+(.po)?)", title)
7878
if not match:
7979
continue
80-
80+
8181
dirname, filename = match.group('dirname', 'filename')
8282
if not filename.endswith('.po'):
8383
filename += '.po'
@@ -98,7 +98,7 @@ def format_line_directory(dirname: str) -> str:
9898
issue_list = get_github_issues()
9999

100100
'''
101-
Search all the po file in the directory,
101+
Search all the po file in the directory,
102102
and record the translation progress of each files.
103103
'''
104104
BASE_DIR = Path("../")

‎README.rst

Copy file name to clipboardExpand all lines: README.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ rST 語法注意事項
322322
術語表 Glossary
323323
===============
324324

325-
為了讓翻譯保持統一,我們整理了一份 `術語列表
326-
<https://github.com/python/python-docs-zh-tw/wiki/%E8%A1%93%E8%AA%9E%E5%88%97%E8%A1%A8>`_ \
325+
為了讓翻譯保持統一,我們整理了一份 \
326+
`術語列表 <https://github.com/python/python-docs-zh-tw/wiki/%E8%A1%93%E8%AA%9E%E5%88%97%E8%A1%A8>`_ \
327327
如果翻譯過程中你覺得需要術語列表有所缺漏,請至 `Discussion \
328328
<https://github.com/python/python-docs-zh-tw/discussions>`_ 開啟新的討論補充術語。\
329329
新增的術語,將會於每次 Sprint 中共同討論是否合併進術語列表。

‎c-api/function.po

Copy file name to clipboardExpand all lines: c-api/function.po
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.12\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
13+
"POT-Creation-Date: 2023-12-07 00:03+0000\n"
1414
"PO-Revision-Date: 2022-11-12 15:45+0800\n"
1515
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -66,22 +66,24 @@ msgid ""
6666
"The function's docstring and name are retrieved from the code object. "
6767
"*__module__* is retrieved from *globals*. The argument defaults, annotations "
6868
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
69-
"the code object's ``co_qualname`` field."
69+
"the code object's :attr:`~codeobject.co_qualname` field."
7070
msgstr ""
7171
"函式的文件字串 (docstring) 和名稱是從程式碼物件所取得,*__module__* 是自 "
7272
"*globals* 所取得。引數預設值、標註 (annotation) 和閉包 (closure) 被設為 "
73-
"``NULL``,*__qualname__* 被設為和程式碼物件 ``co_qualname`` 欄位相同的值。"
73+
"``NULL``,*__qualname__* 被設為和程式碼物件 :attr:`~codeobject.co_qualname` "
74+
"欄位相同的值。"
7475

7576
#: ../../c-api/function.rst:45
7677
msgid ""
7778
"As :c:func:`PyFunction_New`, but also allows setting the function object's "
7879
"``__qualname__`` attribute. *qualname* should be a unicode object or "
7980
"``NULL``; if ``NULL``, the ``__qualname__`` attribute is set to the same "
80-
"value as the code object's ``co_qualname`` field."
81+
"value as the code object's :attr:`~codeobject.co_qualname` field."
8182
msgstr ""
8283
"和 :c:func:`PyFunction_New` 相似,但也允許函式物件 ``__qualname__`` 屬性的設"
8384
"定,*qualname* 應為一個 unicode 物件或是 ``NULL``;如為 ``NULL``,"
84-
"``__qualname__`` 屬性會被設為與程式碼物件 ``co_qualname`` 欄位相同的值。"
85+
"``__qualname__`` 屬性會被設為與程式碼物件 :attr:`~codeobject.co_qualname` 欄"
86+
"位相同的值。"
8587

8688
#: ../../c-api/function.rst:55
8789
msgid "Return the code object associated with the function object *op*."

‎c-api/import.po

Copy file name to clipboardExpand all lines: c-api/import.po
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-07-29 00:03+0000\n"
11+
"POT-Creation-Date: 2023-12-07 00:03+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -154,7 +154,8 @@ msgstr ""
154154
#: ../../c-api/import.rst:140
155155
msgid ""
156156
"The module's :attr:`__file__` attribute will be set to the code object's :"
157-
"attr:`!co_filename`. If applicable, :attr:`__cached__` will also be set."
157+
"attr:`~codeobject.co_filename`. If applicable, :attr:`__cached__` will also "
158+
"be set."
158159
msgstr ""
159160

160161
#: ../../c-api/import.rst:144

‎c-api/typeobj.po

Copy file name to clipboardExpand all lines: c-api/typeobj.po
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-08-29 12:27+0000\n"
10+
"POT-Creation-Date: 2023-12-07 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:33+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -417,12 +417,13 @@ msgstr ":c:member:`~PyTypeObject.tp_dict`"
417417
#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:113
418418
#: ../../c-api/typeobj.rst:132 ../../c-api/typeobj.rst:134
419419
#: ../../c-api/typeobj.rst:136 ../../c-api/typeobj.rst:140
420-
#: ../../c-api/typeobj.rst:341 ../../c-api/typeobj.rst:356
421-
#: ../../c-api/typeobj.rst:368 ../../c-api/typeobj.rst:370
422-
#: ../../c-api/typeobj.rst:381 ../../c-api/typeobj.rst:392
423-
#: ../../c-api/typeobj.rst:404 ../../c-api/typeobj.rst:406
424-
#: ../../c-api/typeobj.rst:412 ../../c-api/typeobj.rst:414
425-
#: ../../c-api/typeobj.rst:416 ../../c-api/typeobj.rst:431
420+
#: ../../c-api/typeobj.rst:341 ../../c-api/typeobj.rst:346
421+
#: ../../c-api/typeobj.rst:356 ../../c-api/typeobj.rst:368
422+
#: ../../c-api/typeobj.rst:370 ../../c-api/typeobj.rst:381
423+
#: ../../c-api/typeobj.rst:392 ../../c-api/typeobj.rst:404
424+
#: ../../c-api/typeobj.rst:406 ../../c-api/typeobj.rst:412
425+
#: ../../c-api/typeobj.rst:414 ../../c-api/typeobj.rst:416
426+
#: ../../c-api/typeobj.rst:429 ../../c-api/typeobj.rst:431
426427
#: ../../c-api/typeobj.rst:435 ../../c-api/typeobj.rst:440
427428
#: ../../c-api/typeobj.rst:446
428429
msgid ":c:type:`PyObject` *"
@@ -533,8 +534,7 @@ msgid "[:c:member:`~PyTypeObject.tp_subclasses`]"
533534
msgstr "[:c:member:`~PyTypeObject.tp_subclasses`]"
534535

535536
#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:138
536-
#: ../../c-api/typeobj.rst:279 ../../c-api/typeobj.rst:346
537-
#: ../../c-api/typeobj.rst:348 ../../c-api/typeobj.rst:429
537+
#: ../../c-api/typeobj.rst:279 ../../c-api/typeobj.rst:348
538538
msgid "void *"
539539
msgstr "void *"
540540

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.