Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Sync with CPython 3.12#739

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 7 commits into3.12fromcron/sync/3.12
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes fromall 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
4 changes: 2 additions & 2 deletions.scripts/summarize_progress/main.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,7 +77,7 @@ def get_github_issues() -> list:
match = re.search("(?P<dirname>[^\s`][a-zA-z-]+)/(?P<filename>[a-zA-Z0-9._-]+(.po)?)", title)
if not match:
continue

dirname, filename = match.group('dirname', 'filename')
if not filename.endswith('.po'):
filename += '.po'
Expand All@@ -98,7 +98,7 @@ def format_line_directory(dirname: str) -> str:
issue_list = get_github_issues()

'''
Search all the po file in the directory,
Search all the po file in the directory,
and record the translation progress of each files.
'''
BASE_DIR = Path("../")
Expand Down
4 changes: 2 additions & 2 deletionsREADME.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -322,8 +322,8 @@ rST 語法注意事項
術語表 Glossary
===============

為了讓翻譯保持統一,我們整理了一份`術語列表
<https://github.com/python/python-docs-zh-tw/wiki/%E8%A1%93%E8%AA%9E%E5%88%97%E8%A1%A8>`_ \
為了讓翻譯保持統一,我們整理了一份\
`術語列表<https://github.com/python/python-docs-zh-tw/wiki/%E8%A1%93%E8%AA%9E%E5%88%97%E8%A1%A8>`_ \
如果翻譯過程中你覺得需要術語列表有所缺漏,請至 `Discussion \
<https://github.com/python/python-docs-zh-tw/discussions>`_ 開啟新的討論補充術語。\
新增的術語,將會於每次 Sprint 中共同討論是否合併進術語列表。
Expand Down
12 changes: 7 additions & 5 deletionsc-api/function.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
"POT-Creation-Date: 2023-12-07 00:03+0000\n"
"PO-Revision-Date: 2022-11-12 15:45+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -66,22 +66,24 @@ msgid ""
"The function's docstring and name are retrieved from the code object. "
"*__module__* is retrieved from *globals*. The argument defaults, annotations "
"and closure are set to ``NULL``. *__qualname__* is set to the same value as "
"the code object's``co_qualname`` field."
"the code object's:attr:`~codeobject.co_qualname` field."
msgstr ""
"函式的文件字串 (docstring) 和名稱是從程式碼物件所取得,*__module__* 是自 "
"*globals* 所取得。引數預設值、標註 (annotation) 和閉包 (closure) 被設為 "
"``NULL``,*__qualname__* 被設為和程式碼物件 ``co_qualname`` 欄位相同的值。"
"``NULL``,*__qualname__* 被設為和程式碼物件 :attr:`~codeobject.co_qualname` "
"欄位相同的值。"

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

#: ../../c-api/function.rst:55
msgid "Return the code object associated with the function object *op*."
Expand Down
5 changes: 3 additions & 2 deletionsc-api/import.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-29 00:03+0000\n"
"POT-Creation-Date: 2023-12-07 00:03+0000\n"
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -154,7 +154,8 @@ msgstr ""
#: ../../c-api/import.rst:140
msgid ""
"The module's :attr:`__file__` attribute will be set to the code object's :"
"attr:`!co_filename`. If applicable, :attr:`__cached__` will also be set."
"attr:`~codeobject.co_filename`. If applicable, :attr:`__cached__` will also "
"be set."
msgstr ""

#: ../../c-api/import.rst:144
Expand Down
18 changes: 9 additions & 9 deletionsc-api/typeobj.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-29 12:27+0000\n"
"POT-Creation-Date: 2023-12-07 00:03+0000\n"
"PO-Revision-Date: 2018-05-23 14:33+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -417,12 +417,13 @@ msgstr ":c:member:`~PyTypeObject.tp_dict`"
#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:113
#: ../../c-api/typeobj.rst:132 ../../c-api/typeobj.rst:134
#: ../../c-api/typeobj.rst:136 ../../c-api/typeobj.rst:140
#: ../../c-api/typeobj.rst:341 ../../c-api/typeobj.rst:356
#: ../../c-api/typeobj.rst:368 ../../c-api/typeobj.rst:370
#: ../../c-api/typeobj.rst:381 ../../c-api/typeobj.rst:392
#: ../../c-api/typeobj.rst:404 ../../c-api/typeobj.rst:406
#: ../../c-api/typeobj.rst:412 ../../c-api/typeobj.rst:414
#: ../../c-api/typeobj.rst:416 ../../c-api/typeobj.rst:431
#: ../../c-api/typeobj.rst:341 ../../c-api/typeobj.rst:346
#: ../../c-api/typeobj.rst:356 ../../c-api/typeobj.rst:368
#: ../../c-api/typeobj.rst:370 ../../c-api/typeobj.rst:381
#: ../../c-api/typeobj.rst:392 ../../c-api/typeobj.rst:404
#: ../../c-api/typeobj.rst:406 ../../c-api/typeobj.rst:412
#: ../../c-api/typeobj.rst:414 ../../c-api/typeobj.rst:416
#: ../../c-api/typeobj.rst:429 ../../c-api/typeobj.rst:431
#: ../../c-api/typeobj.rst:435 ../../c-api/typeobj.rst:440
#: ../../c-api/typeobj.rst:446
msgid ":c:type:`PyObject` *"
Expand DownExpand Up@@ -533,8 +534,7 @@ msgid "[:c:member:`~PyTypeObject.tp_subclasses`]"
msgstr "[:c:member:`~PyTypeObject.tp_subclasses`]"

#: ../../c-api/typeobj.rst:0 ../../c-api/typeobj.rst:138
#: ../../c-api/typeobj.rst:279 ../../c-api/typeobj.rst:346
#: ../../c-api/typeobj.rst:348 ../../c-api/typeobj.rst:429
#: ../../c-api/typeobj.rst:279 ../../c-api/typeobj.rst:348
msgid "void *"
msgstr "void *"

Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp