Skip to content

Commit 4351847

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython f75abf8b
1 parent c28bcf7 commit 4351847

File tree

7 files changed

+30
-24
lines changed

7 files changed

+30
-24
lines changed

howto/descriptor.po

Lines changed: 2 additions & 2 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: 2024-02-21 00:03+0000\n"
10+
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -561,7 +561,7 @@ msgstr ""
561561
#: ../../howto/descriptor.rst:789
562562
msgid ""
563563
"The logic for super's dotted lookup is in the :meth:`__getattribute__` "
564-
"method for object returned by :class:`super()`."
564+
"method for object returned by :func:`super`."
565565
msgstr ""
566566

567567
#: ../../howto/descriptor.rst:792

library/collections.po

Lines changed: 3 additions & 2 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: 2024-05-09 00:03+0000\n"
13+
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
1414
"PO-Revision-Date: 2024-01-22 21:42+0800\n"
1515
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -230,8 +230,9 @@ msgstr ""
230230
"做類比。引用 ``d.parents`` 等同於 ``ChainMap(*d.maps[1:])``。"
231231

232232
#: ../../library/collections.rst:102
233+
#, fuzzy
233234
msgid ""
234-
"Note, the iteration order of a :class:`ChainMap()` is determined by scanning "
235+
"Note, the iteration order of a :class:`ChainMap` is determined by scanning "
235236
"the mappings last to first::"
236237
msgstr ""
237238
"注意,一個 :class:`ChainMap()` 的疊代順序是透過由後往前掃描對映而定: ::"

library/datetime.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
9+
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
1010
"PO-Revision-Date: 2023-08-07 10:20+0800\n"
1111
"Last-Translator: Griiid <gridwing@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2312,11 +2312,11 @@ msgstr ""
23122312

23132313
#: ../../library/datetime.rst:2109
23142314
msgid ""
2315-
"This is called from the default :class:`datetime.astimezone()` "
2316-
"implementation. When called from that, ``dt.tzinfo`` is *self*, and *dt*'s "
2317-
"date and time data are to be viewed as expressing a UTC time. The purpose "
2318-
"of :meth:`fromutc` is to adjust the date and time data, returning an "
2319-
"equivalent datetime in *self*'s local time."
2315+
"This is called from the default :meth:`datetime.astimezone` implementation. "
2316+
"When called from that, ``dt.tzinfo`` is *self*, and *dt*'s date and time "
2317+
"data are to be viewed as expressing a UTC time. The purpose of :meth:"
2318+
"`fromutc` is to adjust the date and time data, returning an equivalent "
2319+
"datetime in *self*'s local time."
23202320
msgstr ""
23212321

23222322
#: ../../library/datetime.rst:2115

library/fileinput.po

Lines changed: 2 additions & 2 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: 2024-05-09 00:03+0000\n"
10+
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:01+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -82,7 +82,7 @@ msgstr ""
8282
#: ../../library/fileinput.rst:49
8383
msgid ""
8484
"You can control how files are opened by providing an opening hook via the "
85-
"*openhook* parameter to :func:`fileinput.input` or :class:`FileInput()`. The "
85+
"*openhook* parameter to :func:`fileinput.input` or :func:`FileInput`. The "
8686
"hook must be a function that takes two arguments, *filename* and *mode*, and "
8787
"returns an accordingly opened file-like object. If *encoding* and/or "
8888
"*errors* are specified, they will be passed to the hook as additional "

tutorial/stdlib2.po

Lines changed: 8 additions & 6 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: 2022-07-23 00:17+0000\n"
13+
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
1414
"PO-Revision-Date: 2021-06-19 14:24+0800\n"
1515
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -293,8 +293,9 @@ msgstr ""
293293
"根據效能的各種取捨,需要一些替代的實作。"
294294

295295
#: ../../tutorial/stdlib2.rst:296
296+
#, fuzzy
296297
msgid ""
297-
"The :mod:`array` module provides an :class:`~array.array()` object that is "
298+
"The :mod:`array` module provides an :class:`~array.array` object that is "
298299
"like a list that stores only homogeneous data and stores it more compactly. "
299300
"The following example shows an array of numbers stored as two byte unsigned "
300301
"binary numbers (typecode ``\"H\"``) rather than the usual 16 bytes per entry "
@@ -306,11 +307,12 @@ msgstr ""
306307
"而在 Python 整數物件的正規 list 中,每個項目通常使用 16 個位元組: ::"
307308

308309
#: ../../tutorial/stdlib2.rst:309
310+
#, fuzzy
309311
msgid ""
310-
"The :mod:`collections` module provides a :class:`~collections.deque()` "
311-
"object that is like a list with faster appends and pops from the left side "
312-
"but slower lookups in the middle. These objects are well suited for "
313-
"implementing queues and breadth first tree searches::"
312+
"The :mod:`collections` module provides a :class:`~collections.deque` object "
313+
"that is like a list with faster appends and pops from the left side but "
314+
"slower lookups in the middle. These objects are well suited for implementing "
315+
"queues and breadth first tree searches::"
314316
msgstr ""
315317
":mod:`collections` 模組提供了一個 :class:`~collections.deque()` 物件,它像是 "
316318
"list,但從左側加入 (append) 和彈出 (pop) 的速度較快,而在中間查找的速度則較"

whatsnew/2.5.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.12\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-04-18 00:04+0000\n"
9+
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:20+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2027,15 +2027,15 @@ msgid ""
20272027
":mod:`ctypes` also provides a wrapper for Python's C API as the ``ctypes."
20282028
"pythonapi`` object. This object does *not* release the global interpreter "
20292029
"lock before calling a function, because the lock must be held when calling "
2030-
"into the interpreter's code. There's a :class:`py_object()` type "
2030+
"into the interpreter's code. There's a :class:`~ctypes.py_object` type "
20312031
"constructor that will create a :c:expr:`PyObject *` pointer. A simple "
20322032
"usage::"
20332033
msgstr ""
20342034

20352035
#: ../../whatsnew/2.5.rst:1737
20362036
msgid ""
2037-
"Don't forget to use :class:`py_object()`; if it's omitted you end up with a "
2038-
"segmentation fault."
2037+
"Don't forget to use :func:`~ctypes.py_object`; if it's omitted you end up "
2038+
"with a segmentation fault."
20392039
msgstr ""
20402040

20412041
#: ../../whatsnew/2.5.rst:1740

whatsnew/3.12.po

Lines changed: 5 additions & 2 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: 2024-05-27 00:03+0000\n"
10+
"POT-Creation-Date: 2024-06-13 00:03+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -932,11 +932,14 @@ msgid "itertools"
932932
msgstr "itertools"
933933

934934
#: ../../whatsnew/3.12.rst:742
935+
#, fuzzy
935936
msgid ""
936-
"Add :class:`itertools.batched()` for collecting into even-sized tuples where "
937+
"Add :func:`itertools.batched` for collecting into even-sized tuples where "
937938
"the last batch may be shorter than the rest. (Contributed by Raymond "
938939
"Hettinger in :gh:`98363`.)"
939940
msgstr ""
941+
"新增 :func:`math.sumprod` 以計算乘積總和。(由 Raymond Hettinger 於 :gh:"
942+
"`100485` 中貢獻。)"
940943

941944
#: ../../whatsnew/3.12.rst:747
942945
msgid "math"

0 commit comments

Comments
 (0)