File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"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 "
11
11
"PO-Revision-Date : 2018-05-23 16:17+0000\n "
12
12
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -3160,9 +3160,8 @@ msgstr ""
3160
3160
#: ../../reference/datamodel.rst:2805
3161
3161
msgid ""
3162
3162
"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* "
3166
3165
"is of an inappropriate type, :exc:`TypeError` may be raised; if *key* is a "
3167
3166
"value outside the set of indexes for the sequence (after any special "
3168
3167
"interpretation of negative values), :exc:`IndexError` should be raised. For :"
You can’t perform that action at this time.
0 commit comments