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
cb3ff446
Commit
cb3ff446
authored
Feb 15, 2014
by
Andrew Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#16728: Mention collections.abc.Sequence in 'sequence' glossary entry
parent
46ff4ee8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Doc/glossary.rst
Doc/glossary.rst
+8
-0
No files found.
Doc/glossary.rst
View file @
cb3ff446
...
@@ -763,6 +763,14 @@ Glossary
...
@@ -763,6 +763,14 @@ Glossary
mapping
rather
than
a
sequence
because
the
lookups
use
arbitrary
mapping
rather
than
a
sequence
because
the
lookups
use
arbitrary
:
term
:`
immutable
`
keys
rather
than
integers
.
:
term
:`
immutable
`
keys
rather
than
integers
.
The
:
class
:`
collections
.
abc
.
Sequence
`
abstract
base
class
defines
a
much
richer
interface
that
goes
beyond
just
:
meth
:`
__getitem__
`
and
:
meth
:`
__len__
`,
adding
:
meth
:`
count
`,
:
meth
:`
index
`,
:
meth
:`
__contains__
`,
and
:
meth
:`
__reversed__
`.
Types
that
implement
this
expanded
interface
can
be
registered
explicitly
using
:
func
:`~
abc
.
register
`.
slice
slice
An
object
usually
containing
a
portion
of
a
:
term
:`
sequence
`.
A
slice
is
An
object
usually
containing
a
portion
of
a
:
term
:`
sequence
`.
A
slice
is
created
using
the
subscript
notation
,
``[]``
with
colons
between
numbers
created
using
the
subscript
notation
,
``[]``
with
colons
between
numbers
...
...
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