Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 169aac5

Browse files
[po] auto sync
1 parent 245a878 commit 169aac5

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

c-api/datetime.po

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,14 @@ msgstr ""
184184
msgid ""
185185
"Return a :class:`datetime.timezone` object with an unnamed fixed offset "
186186
"represented by the *offset* argument."
187-
msgstr ""
187+
msgstr "返回一个 :class:`datetime.timezone` 对象,该对象具有以 *offset* 参数表示 的未命名固定时差。"
188188

189189
#: ../../c-api/datetime.rst:139
190190
msgid ""
191191
"Return a :class:`datetime.timezone` object with a fixed offset represented "
192192
"by the *offset* argument and with tzname *name*."
193193
msgstr ""
194+
"返回一个 :class:`datetime.timezone` 对象,该对象具有以 *offset* 参数表示的固定时差和时区名称 *name*。"
194195

195196
#: ../../c-api/datetime.rst:145
196197
msgid ""
@@ -199,10 +200,12 @@ msgid ""
199200
":c:data:`PyDateTime_DateTime`). The argument must not be ``NULL``, and the "
200201
"type is not checked:"
201202
msgstr ""
203+
"一些用来从 date 对象中提取字段的宏。 参数必须是 :c:data:`PyDateTime_Date` 包括其子类 (例如 "
204+
":c:data:`PyDateTime_DateTime`) 的实例。 参数必须不为 ``NULL``,并且类型不被会检查:"
202205

203206
#: ../../c-api/datetime.rst:152
204207
msgid "Return the year, as a positive int."
205-
msgstr ""
208+
msgstr "以正整数的形式返回年份值。"
206209

207210
#: ../../c-api/datetime.rst:157
208211
msgid "Return the month, as an int from 1 through 12."
@@ -218,6 +221,8 @@ msgid ""
218221
"instance of :c:data:`PyDateTime_DateTime`, including subclasses. The "
219222
"argument must not be ``NULL``, and the type is not checked:"
220223
msgstr ""
224+
"一些用来从 datetime 对象中提取字段的宏。 参数必须是 :c:data:`PyDateTime_DateTime` 包括其子类的实例。 "
225+
"参数必须不为 ``NULL``,并且类型不会被检查:"
221226

222227
#: ../../c-api/datetime.rst:171 ../../c-api/datetime.rst:195
223228
msgid "Return the hour, as an int from 0 through 23."
@@ -241,13 +246,17 @@ msgid ""
241246
"instance of :c:data:`PyDateTime_Time`, including subclasses. The argument "
242247
"must not be ``NULL``, and the type is not checked:"
243248
msgstr ""
249+
"一些用来从 time 对象中提取字段的宏。 参数必须是 :c:data:`PyDateTime_Time` 包括其子类的实例。 参数必须不为 "
250+
"``NULL``,并且类型不会被检查:"
244251

245252
#: ../../c-api/datetime.rst:213
246253
msgid ""
247254
"Macros to extract fields from time delta objects. The argument must be an "
248255
"instance of :c:data:`PyDateTime_Delta`, including subclasses. The argument "
249256
"must not be ``NULL``, and the type is not checked:"
250257
msgstr ""
258+
"一些用来从 timedelta 对象中提取字段的宏。 参数必须是 :c:data:`PyDateTime_Delta` 包括其子类的实例。 参数必须不为"
259+
" ``NULL``,并且类型不会被检查:"
251260

252261
#: ../../c-api/datetime.rst:219
253262
msgid "Return the number of days, as an int from -999999999 to 999999999."
@@ -263,16 +272,20 @@ msgstr "返回微秒数,从0到999999的整数。"
263272

264273
#: ../../c-api/datetime.rst:238
265274
msgid "Macros for the convenience of modules implementing the DB API:"
266-
msgstr ""
275+
msgstr "一些便于模块实现 DB API 的宏:"
267276

268277
#: ../../c-api/datetime.rst:242
269278
msgid ""
270279
"Create and return a new :class:`datetime.datetime` object given an argument "
271280
"tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp()`."
272281
msgstr ""
282+
"创建并返回一个给定元组参数的新 :class:`datetime.datetime` 对象,适合传给 "
283+
":meth:`datetime.datetime.fromtimestamp()`。"
273284

274285
#: ../../c-api/datetime.rst:248
275286
msgid ""
276287
"Create and return a new :class:`datetime.date` object given an argument "
277288
"tuple suitable for passing to :meth:`datetime.date.fromtimestamp()`."
278289
msgstr ""
290+
"创建并返回一个给定元组参数的新 :class:`datetime.date` 对象,适合传给 "
291+
":meth:`datetime.date.fromtimestamp()`。"

0 commit comments

Comments
 (0)