Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3838c5

Browse files
github-actions[bot]mattwang44
authored andcommitted
sync with cpython 08d3b5dd
1 parent30e1394 commite3838c5

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 <adrianliaw2000@gmail.com>\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)

[8]ページ先頭

©2009-2025 Movatter.jp