Skip to content

Commit f50b07e

Browse files
sync with cpython f49d0732
1 parent 6906cdc commit f50b07e

File tree

3 files changed

+536
-503
lines changed

3 files changed

+536
-503
lines changed

library/__future__.po

Lines changed: 60 additions & 59 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: 2022-05-21 17:35+0000\n"
10+
"POT-Creation-Date: 2023-12-04 13:57+0000\n"
1111
"PO-Revision-Date: 2023-08-11 02:12+0000\n"
1212
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -56,25 +56,25 @@ msgstr ""
5656
"記錄何時出現不相容的變更,以及何時開始強制執行這些變更。這是一種可執行文件的"
5757
"形式,可以透過引入 :mod:`__future__` 並檢查其內容以程式化的方式進行檢查。"
5858

59-
#: ../../library/__future__.rst:25
59+
#: ../../library/__future__.rst:29
6060
msgid "Each statement in :file:`__future__.py` is of the form::"
6161
msgstr ":file:`__future__.py` 中的每個陳述式的形式如下: ::"
6262

63-
#: ../../library/__future__.rst:31
63+
#: ../../library/__future__.rst:34
6464
msgid ""
6565
"where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both "
6666
"are 5-tuples of the same form as :data:`sys.version_info`::"
6767
msgstr ""
6868
"通常,*OptionalRelease* 會小於 *MandatoryRelease*,且兩者都是與 :data:`sys."
6969
"version_info` 形式相同的 5 元組 (5-tuple): ::"
7070

71-
#: ../../library/__future__.rst:41
71+
#: ../../library/__future__.rst:46
7272
msgid ""
7373
"*OptionalRelease* records the first release in which the feature was "
7474
"accepted."
7575
msgstr "*OptionalRelease* 記錄該功能首次發布時的 Python 版本。"
7676

77-
#: ../../library/__future__.rst:43
77+
#: ../../library/__future__.rst:50
7878
msgid ""
7979
"In the case of a *MandatoryRelease* that has not yet occurred, "
8080
"*MandatoryRelease* predicts the release in which the feature will become "
@@ -83,7 +83,7 @@ msgstr ""
8383
"如果 *MandatoryRelease* 尚未發布,*MandatoryRelease* 會預測該功能將成為該語言"
8484
"一部分的版本。"
8585

86-
#: ../../library/__future__.rst:47
86+
#: ../../library/__future__.rst:54
8787
msgid ""
8888
"Else *MandatoryRelease* records when the feature became part of the "
8989
"language; in releases at or after that, modules no longer need a future "
@@ -93,32 +93,26 @@ msgstr ""
9393
"否則 *MandatoryRelease* 會記錄該功能是何時成為語言的一部分;在該版本或之後的"
9494
"版本中,模組不再需要 future 聲明來使用相關功能,但可以繼續使用此種引入方式。"
9595

96-
#: ../../library/__future__.rst:51
96+
#: ../../library/__future__.rst:58
97+
#, fuzzy
9798
msgid ""
9899
"*MandatoryRelease* may also be ``None``, meaning that a planned feature got "
99-
"dropped."
100+
"dropped or that it is not yet decided."
100101
msgstr "*MandatoryRelease* 也可能是 ``None``,這意味著計劃中的功能被丟棄。"
101102

102-
#: ../../library/__future__.rst:54
103-
msgid ""
104-
"Instances of class :class:`_Feature` have two corresponding methods, :meth:"
105-
"`getOptionalRelease` and :meth:`getMandatoryRelease`."
106-
msgstr ""
107-
":class:`_Feature` 類別的實例有兩個相應的方法::meth:`getOptionalRelease` 和 :"
108-
"meth:`getMandatoryRelease`。"
109-
110-
#: ../../library/__future__.rst:57
103+
#: ../../library/__future__.rst:63
104+
#, fuzzy
111105
msgid ""
112106
"*CompilerFlag* is the (bitfield) flag that should be passed in the fourth "
113107
"argument to the built-in function :func:`compile` to enable the feature in "
114-
"dynamically compiled code. This flag is stored in the :attr:`compiler_flag` "
115-
"attribute on :class:`_Feature` instances."
108+
"dynamically compiled code. This flag is stored in the :attr:`_Feature."
109+
"compiler_flag` attribute on :class:`_Feature` instances."
116110
msgstr ""
117111
"*CompilerFlag* 是(位元欄位 (bitfield))旗標,應在第四個引數中傳遞給內建函"
118112
"式 :func:`compile` 以在動態編譯的程式碼中啟用該功能。此旗標存儲在 :class:"
119113
"`_Feature` 實例上的 :attr:`compiler_flag` 屬性中。"
120114

121-
#: ../../library/__future__.rst:62
115+
#: ../../library/__future__.rst:68
122116
msgid ""
123117
"No feature description will ever be deleted from :mod:`__future__`. Since "
124118
"its introduction in Python 2.1 the following features have found their way "
@@ -127,153 +121,153 @@ msgstr ""
127121
"不會從 :mod:`__future__` 中刪除任何功能描述。自從在 Python 2.1 中引入以來,以"
128122
"下功能已透過這種機制引入到該語言中:"
129123

130-
#: ../../library/__future__.rst:67
124+
#: ../../library/__future__.rst:73
131125
msgid "feature"
132126
msgstr "功能"
133127

134-
#: ../../library/__future__.rst:67
128+
#: ../../library/__future__.rst:73
135129
msgid "optional in"
136130
msgstr "可選的版本"
137131

138-
#: ../../library/__future__.rst:67
132+
#: ../../library/__future__.rst:73
139133
msgid "mandatory in"
140134
msgstr "強制性的版本"
141135

142-
#: ../../library/__future__.rst:67
136+
#: ../../library/__future__.rst:73
143137
msgid "effect"
144138
msgstr "影響"
145139

146-
#: ../../library/__future__.rst:69
140+
#: ../../library/__future__.rst:75
147141
msgid "nested_scopes"
148142
msgstr "nested_scopes"
149143

150-
#: ../../library/__future__.rst:69
144+
#: ../../library/__future__.rst:75
151145
msgid "2.1.0b1"
152146
msgstr "2.1.0b1"
153147

154-
#: ../../library/__future__.rst:69
148+
#: ../../library/__future__.rst:75
155149
msgid "2.2"
156150
msgstr "2.2"
157151

158-
#: ../../library/__future__.rst:69
152+
#: ../../library/__future__.rst:75
159153
msgid ":pep:`227`: *Statically Nested Scopes*"
160154
msgstr ":pep:`227`: *靜態巢狀作用域 (Statically Nested Scopes)*"
161155

162-
#: ../../library/__future__.rst:72
156+
#: ../../library/__future__.rst:78
163157
msgid "generators"
164158
msgstr "generators"
165159

166-
#: ../../library/__future__.rst:72
160+
#: ../../library/__future__.rst:78
167161
msgid "2.2.0a1"
168162
msgstr "2.2.0a1"
169163

170-
#: ../../library/__future__.rst:72
164+
#: ../../library/__future__.rst:78
171165
msgid "2.3"
172166
msgstr "2.3"
173167

174-
#: ../../library/__future__.rst:72
168+
#: ../../library/__future__.rst:78
175169
msgid ":pep:`255`: *Simple Generators*"
176170
msgstr ":pep:`255`: *簡單產生器 (Simple Generators)*"
177171

178-
#: ../../library/__future__.rst:75
172+
#: ../../library/__future__.rst:81
179173
msgid "division"
180174
msgstr "division"
181175

182-
#: ../../library/__future__.rst:75
176+
#: ../../library/__future__.rst:81
183177
msgid "2.2.0a2"
184178
msgstr "2.2.0a2"
185179

186-
#: ../../library/__future__.rst:75 ../../library/__future__.rst:78
187-
#: ../../library/__future__.rst:84 ../../library/__future__.rst:87
180+
#: ../../library/__future__.rst:81 ../../library/__future__.rst:84
181+
#: ../../library/__future__.rst:90 ../../library/__future__.rst:93
188182
msgid "3.0"
189183
msgstr "3.0"
190184

191-
#: ../../library/__future__.rst:75
185+
#: ../../library/__future__.rst:81
192186
msgid ":pep:`238`: *Changing the Division Operator*"
193187
msgstr ":pep:`238`: *更改除法運算子 (Changing the Division Operator)*"
194188

195-
#: ../../library/__future__.rst:78
189+
#: ../../library/__future__.rst:84
196190
msgid "absolute_import"
197191
msgstr "absolute_import"
198192

199-
#: ../../library/__future__.rst:78 ../../library/__future__.rst:81
193+
#: ../../library/__future__.rst:84 ../../library/__future__.rst:87
200194
msgid "2.5.0a1"
201195
msgstr "2.5.0a1"
202196

203-
#: ../../library/__future__.rst:78
197+
#: ../../library/__future__.rst:84
204198
msgid ":pep:`328`: *Imports: Multi-Line and Absolute/Relative*"
205199
msgstr ""
206200
":pep:`328`: *引入:多列與絕對/相對 (Imports: Multi-Line and Absolute/"
207201
"Relative)*"
208202

209-
#: ../../library/__future__.rst:81
203+
#: ../../library/__future__.rst:87
210204
msgid "with_statement"
211205
msgstr "with_statement"
212206

213-
#: ../../library/__future__.rst:81
207+
#: ../../library/__future__.rst:87
214208
msgid "2.6"
215209
msgstr "2.6"
216210

217-
#: ../../library/__future__.rst:81
211+
#: ../../library/__future__.rst:87
218212
msgid ":pep:`343`: *The \"with\" Statement*"
219213
msgstr ":pep:`343`: *\"with\" 陳述式 (The \"with\" Statement)*"
220214

221-
#: ../../library/__future__.rst:84
215+
#: ../../library/__future__.rst:90
222216
msgid "print_function"
223217
msgstr "print_function"
224218

225-
#: ../../library/__future__.rst:84 ../../library/__future__.rst:87
219+
#: ../../library/__future__.rst:90 ../../library/__future__.rst:93
226220
msgid "2.6.0a2"
227221
msgstr "2.6.0a2"
228222

229-
#: ../../library/__future__.rst:84
223+
#: ../../library/__future__.rst:90
230224
msgid ":pep:`3105`: *Make print a function*"
231225
msgstr ":pep:`3105`: *使 print 成為一個函式 (Make print a function)*"
232226

233-
#: ../../library/__future__.rst:87
227+
#: ../../library/__future__.rst:93
234228
msgid "unicode_literals"
235229
msgstr "unicode_literals"
236230

237-
#: ../../library/__future__.rst:87
231+
#: ../../library/__future__.rst:93
238232
msgid ":pep:`3112`: *Bytes literals in Python 3000*"
239233
msgstr ""
240234
":pep:`3112`: *Python 3000 中的位元組字面值 (Bytes literals in Python 3000)*"
241235

242-
#: ../../library/__future__.rst:90
236+
#: ../../library/__future__.rst:96
243237
msgid "generator_stop"
244238
msgstr "generator_stop"
245239

246-
#: ../../library/__future__.rst:90
240+
#: ../../library/__future__.rst:96
247241
msgid "3.5.0b1"
248242
msgstr "3.5.0b1"
249243

250-
#: ../../library/__future__.rst:90
244+
#: ../../library/__future__.rst:96
251245
msgid "3.7"
252246
msgstr "3.7"
253247

254-
#: ../../library/__future__.rst:90
248+
#: ../../library/__future__.rst:96
255249
msgid ":pep:`479`: *StopIteration handling inside generators*"
256250
msgstr ""
257251
":pep:`479`: *產生器內部的 StopIteration 處理 (StopIteration handling inside "
258252
"generators)*"
259253

260-
#: ../../library/__future__.rst:93
254+
#: ../../library/__future__.rst:99
261255
msgid "annotations"
262256
msgstr "annotations"
263257

264-
#: ../../library/__future__.rst:93
258+
#: ../../library/__future__.rst:99
265259
msgid "3.7.0b1"
266260
msgstr "3.7.0b1"
267261

268-
#: ../../library/__future__.rst:93
262+
#: ../../library/__future__.rst:99
269263
msgid "TBD [1]_"
270264
msgstr "TBD [1]_"
271265

272-
#: ../../library/__future__.rst:93
266+
#: ../../library/__future__.rst:99
273267
msgid ":pep:`563`: *Postponed evaluation of annotations*"
274268
msgstr ":pep:`563`: *推遲對註釋的求值 (Postponed evaluation of annotations)*"
275269

276-
#: ../../library/__future__.rst:100
270+
#: ../../library/__future__.rst:106
277271
msgid ""
278272
"``from __future__ import annotations`` was previously scheduled to become "
279273
"mandatory in Python 3.10, but the Python Steering Council twice decided to "
@@ -291,10 +285,17 @@ msgstr ""
291285
"VIZEBX5EYMSYIJNDBF6DMUMZOCWHARSO/>`__)。目前還尚未做出決定。另請參閱 :pep:"
292286
"`563` 和 :pep:`649`。"
293287

294-
#: ../../library/__future__.rst:110
288+
#: ../../library/__future__.rst:116
295289
msgid ":ref:`future`"
296290
msgstr ":ref:`future`"
297291

298-
#: ../../library/__future__.rst:111
292+
#: ../../library/__future__.rst:117
299293
msgid "How the compiler treats future imports."
300294
msgstr "編譯器如何處理 future 引入。"
295+
296+
#~ msgid ""
297+
#~ "Instances of class :class:`_Feature` have two corresponding methods, :"
298+
#~ "meth:`getOptionalRelease` and :meth:`getMandatoryRelease`."
299+
#~ msgstr ""
300+
#~ ":class:`_Feature` 類別的實例有兩個相應的方法::meth:`getOptionalRelease` "
301+
#~ "和 :meth:`getMandatoryRelease`。"

0 commit comments

Comments
 (0)