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

Skip to content

Commit 456bb33

Browse files
sync with cpython 08d3b5dd
1 parent 21cb882 commit 456bb33

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

reference/datamodel.po

Lines changed: 3 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-12-21 00:03+0000\n"
10+
"POT-Creation-Date: 2023-12-22 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:17+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3160,9 +3160,8 @@ msgstr ""
31603160
#: ../../reference/datamodel.rst:2805
31613161
msgid ""
31623162
"Called to implement evaluation of ``self[key]``. For :term:`sequence` types, "
3163-
"the accepted keys should be integers and slice objects. Note that the "
3164-
"special interpretation of negative indexes (if the class wishes to emulate "
3165-
"a :term:`sequence` type) is up to the :meth:`__getitem__` method. If *key* "
3163+
"the accepted keys should be integers. Optionally, they may support :class:"
3164+
"`slice` objects as well. Negative index support is also optional. If *key* "
31663165
"is of an inappropriate type, :exc:`TypeError` may be raised; if *key* is a "
31673166
"value outside the set of indexes for the sequence (after any special "
31683167
"interpretation of negative values), :exc:`IndexError` should be raised. For :"

0 commit comments

Comments
 (0)