Skip to content

Commit 65a7c9e

Browse files
sync with cpython d7a78833
1 parent 0e28b5b commit 65a7c9e

File tree

7 files changed

+104
-87
lines changed

7 files changed

+104
-87
lines changed

c-api/set.po

Lines changed: 4 additions & 4 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: 2023-10-17 00:03+0000\n"
10+
"POT-Creation-Date: 2023-11-27 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:07+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -168,9 +168,9 @@ msgid ""
168168
"Return ``1`` if found and removed, ``0`` if not found (no action taken), and "
169169
"``-1`` if an error is encountered. Does not raise :exc:`KeyError` for "
170170
"missing keys. Raise a :exc:`TypeError` if the *key* is unhashable. Unlike "
171-
"the Python :meth:`~set.discard` method, this function does not automatically "
172-
"convert unhashable sets into temporary frozensets. Raise :exc:`SystemError` "
173-
"if *set* is not an instance of :class:`set` or its subtype."
171+
"the Python :meth:`~frozenset.discard` method, this function does not "
172+
"automatically convert unhashable sets into temporary frozensets. Raise :exc:"
173+
"`SystemError` if *set* is not an instance of :class:`set` or its subtype."
174174
msgstr ""
175175

176176
#: ../../c-api/set.rst:158

extending/newtypes.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.12\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2023-08-23 00:03+0000\n"
11+
"POT-Creation-Date: 2023-11-27 00:03+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:34+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -301,7 +301,7 @@ msgid ""
301301
"defined this way can have an associated doc string simply by providing the "
302302
"text in the table. An application can use the introspection API to retrieve "
303303
"the descriptor from the class object, and get the doc string using its :attr:"
304-
"`__doc__` attribute."
304+
"`!__doc__` attribute."
305305
msgstr ""
306306

307307
#: ../../extending/newtypes.rst:301
@@ -422,7 +422,7 @@ msgstr ""
422422

423423
#: ../../extending/newtypes.rst:451
424424
msgid ""
425-
":c:type:`Py_hash_t` is a signed integer type with a platform-varying width. "
425+
":c:type:`!Py_hash_t` is a signed integer type with a platform-varying width. "
426426
"Returning ``-1`` from :c:member:`~PyTypeObject.tp_hash` indicates an error, "
427427
"which is why you should be careful to avoid returning it when hash "
428428
"computation is successful, as seen above."

0 commit comments

Comments
 (0)