Skip to content

Commit b49bdf0

Browse files
[po] auto sync
1 parent a65b151 commit b49bdf0

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.20%", "updated_at": "2024-07-02T13:47:01Z"}
1+
{"translation": "95.20%", "updated_at": "2024-07-02T14:47:03Z"}

library/datetime.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,7 @@ msgid ""
25772577
"is accounting for daylight time."
25782578
msgstr ""
25792579
"将对应于 :class:`.datetime` 对象 *dt* 的时区名称作为字符串返回。 :mod:`!datetime` "
2580-
"模块未定义任何有关字符串名称的内容,也不要求它具有任何特定含义。 例如``\"GMT\"``, ``\"UTC\"``, ``\"-500\"``, "
2580+
"模块未定义任何有关字符串名称的内容,也不要求它具有任何特定含义。 例如 ``\"GMT\"``, ``\"UTC\"``, ``\"-500\"``, "
25812581
"``\"-5:00\"``, ``\"EDT\"``, ``\"US/Eastern\"``, ``\"America/New York\"`` "
25822582
"都是有效的返回值。 如果字符串名称未知则返回 ``None``。 请注意这是一个方法而不是一个固定的字符串,这主要是因为某些 "
25832583
":class:`tzinfo` 子类可能需要根据所传入的特定 *dt* 值返回不同的名称,特别是在 :class:`tzinfo` "
@@ -2642,6 +2642,9 @@ msgid ""
26422642
":meth:`fromutc` is to adjust the date and time data, returning an equivalent"
26432643
" datetime in *self*'s local time."
26442644
msgstr ""
2645+
"此方法会被 :meth:`datetime.astimezone` 的默认实现调用。此时,``dt.tzinfo`` 会作为 *self* ,*dt* "
2646+
"的日期和时间数据会被当做 UTC 时间解释。:meth:`fromutc` 的目的是调整日期和时间数据,返回一个在 *self* 本地时区下相对应的 "
2647+
"datetime 对象。"
26452648

26462649
#: ../../library/datetime.rst:2115
26472650
msgid ""

whatsnew/2.2.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ msgid ""
421421
"list becomes [:class:`!D`, :class:`!B`, :class:`!C`, :class:`!A`] after "
422422
"dropping duplicates."
423423
msgstr ""
424+
"扫描列表,查找重复的类。 如果发现有重复的类,则删除所有重复的类,只留下列表中*后一个。 在上例中,删除重复后的列表变成 "
425+
"[:class:`!D`,:class:`!B`,:class:`!C`,:class:`!A`]。"
424426

425427
#: ../../whatsnew/2.2.rst:287
426428
msgid ""
@@ -434,6 +436,10 @@ msgid ""
434436
"in the superclass; for example, :class:`!D`'s :meth:`!save` method would "
435437
"look like this::"
436438
msgstr ""
439+
"根据这条规则,引用 :meth:`!D.save` 将返回 :meth:`!C.save` ,这正是我们想要的行为。 这一查找规则与 Common "
440+
"Lisp 遵循的规则相同。 新的内置函数 :func:`super` 提供了一种无需重新实现 Python 算法就能获取类的超类的方法。最常用的形式是"
441+
" ``super(class, obj)`` ,它返回一个绑定的超类对象(而不是实际的类对象)。 "
442+
"这种形式将用于调用超类中的方法;例如,:class:`!D` 的 :meth:`!save` 方法看起来像这样:"
437443

438444
#: ../../whatsnew/2.2.rst:303
439445
msgid ""

0 commit comments

Comments
 (0)