Skip to content

Commit c1b1295

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.10 (#296)
* sync with cpython 65dd6378 * sync with cpython 1cf0305b * sync with cpython 66543925 * resolve fuzzy entries * sync with cpython dda91980 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt.Wang <mattwang44@gmail.com>
1 parent b106ed1 commit c1b1295

File tree

6 files changed

+312
-291
lines changed

6 files changed

+312
-291
lines changed

c-api/datetime.po

+25-21
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgid ""
99
msgstr ""
1010
"Project-Id-Version: Python 3.10\n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
12+
"POT-Creation-Date: 2022-07-15 00:18+0000\n"
1313
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
1414
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -161,102 +161,106 @@ msgid ""
161161
"for :class:`datetime.timedelta` objects."
162162
msgstr ""
163163

164-
#: ../../c-api/datetime.rst:137
164+
#: ../../c-api/datetime.rst:138
165165
msgid ""
166166
"Return a :class:`datetime.timezone` object with an unnamed fixed offset "
167167
"represented by the *offset* argument."
168168
msgstr ""
169169

170-
#: ../../c-api/datetime.rst:144
170+
#: ../../c-api/datetime.rst:146
171171
msgid ""
172172
"Return a :class:`datetime.timezone` object with a fixed offset represented "
173173
"by the *offset* argument and with tzname *name*."
174174
msgstr ""
175175

176-
#: ../../c-api/datetime.rst:150
176+
#: ../../c-api/datetime.rst:152
177177
msgid ""
178178
"Macros to extract fields from date objects. The argument must be an "
179179
"instance of :c:data:`PyDateTime_Date`, including subclasses (such as :c:data:"
180180
"`PyDateTime_DateTime`). The argument must not be ``NULL``, and the type is "
181181
"not checked:"
182182
msgstr ""
183183

184-
#: ../../c-api/datetime.rst:157
184+
#: ../../c-api/datetime.rst:159
185185
msgid "Return the year, as a positive int."
186186
msgstr "回傳年份,為正整數。"
187187

188-
#: ../../c-api/datetime.rst:162
188+
#: ../../c-api/datetime.rst:164
189189
msgid "Return the month, as an int from 1 through 12."
190190
msgstr "回傳月份,為正整數,從 1 到 12。"
191191

192-
#: ../../c-api/datetime.rst:167
192+
#: ../../c-api/datetime.rst:169
193193
msgid "Return the day, as an int from 1 through 31."
194194
msgstr "回傳日期,為正整數,從 1 到 31。"
195195

196-
#: ../../c-api/datetime.rst:170
196+
#: ../../c-api/datetime.rst:172
197197
msgid ""
198198
"Macros to extract fields from datetime objects. The argument must be an "
199199
"instance of :c:data:`PyDateTime_DateTime`, including subclasses. The "
200200
"argument must not be ``NULL``, and the type is not checked:"
201201
msgstr ""
202202

203-
#: ../../c-api/datetime.rst:176 ../../c-api/datetime.rst:205
203+
#: ../../c-api/datetime.rst:178 ../../c-api/datetime.rst:216
204204
msgid "Return the hour, as an int from 0 through 23."
205205
msgstr "回傳小時,為正整數,從 0 到 23。"
206206

207-
#: ../../c-api/datetime.rst:181 ../../c-api/datetime.rst:210
207+
#: ../../c-api/datetime.rst:183 ../../c-api/datetime.rst:221
208208
msgid "Return the minute, as an int from 0 through 59."
209209
msgstr "回傳分鐘,為正整數,從 0 到 59。"
210210

211-
#: ../../c-api/datetime.rst:186 ../../c-api/datetime.rst:215
211+
#: ../../c-api/datetime.rst:188 ../../c-api/datetime.rst:226
212212
msgid "Return the second, as an int from 0 through 59."
213213
msgstr "回傳秒,為正整數,從0 到59。"
214214

215-
#: ../../c-api/datetime.rst:191 ../../c-api/datetime.rst:220
215+
#: ../../c-api/datetime.rst:193 ../../c-api/datetime.rst:231
216216
msgid "Return the microsecond, as an int from 0 through 999999."
217217
msgstr "回傳微秒,為正整數,從 0 到 999999。"
218218

219-
#: ../../c-api/datetime.rst:195 ../../c-api/datetime.rst:224
219+
#: ../../c-api/datetime.rst:198 ../../c-api/datetime.rst:236
220+
msgid "Return the fold, as an int from 0 through 1."
221+
msgstr "回傳 fold,為 0 或 1 的正整數。"
222+
223+
#: ../../c-api/datetime.rst:205 ../../c-api/datetime.rst:243
220224
msgid "Return the tzinfo (which may be ``None``)."
221225
msgstr ""
222226

223-
#: ../../c-api/datetime.rst:199
227+
#: ../../c-api/datetime.rst:210
224228
msgid ""
225229
"Macros to extract fields from time objects. The argument must be an "
226230
"instance of :c:data:`PyDateTime_Time`, including subclasses. The argument "
227231
"must not be ``NULL``, and the type is not checked:"
228232
msgstr ""
229233

230-
#: ../../c-api/datetime.rst:229
234+
#: ../../c-api/datetime.rst:248
231235
msgid ""
232236
"Macros to extract fields from time delta objects. The argument must be an "
233237
"instance of :c:data:`PyDateTime_Delta`, including subclasses. The argument "
234238
"must not be ``NULL``, and the type is not checked:"
235239
msgstr ""
236240

237-
#: ../../c-api/datetime.rst:235
241+
#: ../../c-api/datetime.rst:254
238242
msgid "Return the number of days, as an int from -999999999 to 999999999."
239243
msgstr ""
240244

241-
#: ../../c-api/datetime.rst:242
245+
#: ../../c-api/datetime.rst:261
242246
msgid "Return the number of seconds, as an int from 0 through 86399."
243247
msgstr ""
244248

245-
#: ../../c-api/datetime.rst:249
249+
#: ../../c-api/datetime.rst:268
246250
msgid "Return the number of microseconds, as an int from 0 through 999999."
247251
msgstr ""
248252

249-
#: ../../c-api/datetime.rst:254
253+
#: ../../c-api/datetime.rst:273
250254
msgid "Macros for the convenience of modules implementing the DB API:"
251255
msgstr ""
252256

253-
#: ../../c-api/datetime.rst:258
257+
#: ../../c-api/datetime.rst:277
254258
msgid ""
255259
"Create and return a new :class:`datetime.datetime` object given an argument "
256260
"tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp()`."
257261
msgstr ""
258262

259-
#: ../../c-api/datetime.rst:264
263+
#: ../../c-api/datetime.rst:283
260264
msgid ""
261265
"Create and return a new :class:`datetime.date` object given an argument "
262266
"tuple suitable for passing to :meth:`datetime.date.fromtimestamp()`."

0 commit comments

Comments
 (0)