Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
95a840b0
Commit
95a840b0
authored
Dec 05, 2008
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#3171: document that *slice are removed in 3k.
parent
905e0f65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Doc/library/operator.rst
Doc/library/operator.rst
+13
-0
No files found.
Doc/library/operator.rst
View file @
95a840b0
...
...
@@ -240,6 +240,10 @@ Operations which work with sequences include:
Delete the slice of *a* from index *b* to index *c-1*.
.. deprecated:: 2.6
This function is removed in Python 3.x. Use :func:`delitem` with a slice
index.
.. function:: getitem(a, b)
__getitem__(a, b)
...
...
@@ -252,6 +256,10 @@ Operations which work with sequences include:
Return the slice of *a* from index *b* to index *c-1*.
.. deprecated:: 2.6
This function is removed in Python 3.x. Use :func:`getitem` with a slice
index.
.. function:: indexOf(a, b)
...
...
@@ -283,6 +291,11 @@ Operations which work with sequences include:
Set the slice of *a* from index *b* to index *c-1* to the sequence *v*.
.. deprecated:: 2.6
This function is removed in Python 3.x. Use :func:`setitem` with a slice
index.
Many operations have an "in-place" version. The following functions provide a
more primitive access to in-place operators than the usual syntax does; for
example, the :term:`statement` ``x += y`` is equivalent to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment