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
59f11be5
Commit
59f11be5
authored
Mar 21, 2015
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor formatting nits and remove unnecessary comment.
parent
774918b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Modules/_collectionsmodule.c
Modules/_collectionsmodule.c
+3
-4
No files found.
Modules/_collectionsmodule.c
View file @
59f11be5
...
@@ -64,7 +64,7 @@ typedef struct {
...
@@ -64,7 +64,7 @@ typedef struct {
Py_ssize_t
rightindex
;
/* in range(BLOCKLEN) */
Py_ssize_t
rightindex
;
/* in range(BLOCKLEN) */
size_t
state
;
/* incremented whenever the indices move */
size_t
state
;
/* incremented whenever the indices move */
Py_ssize_t
maxlen
;
Py_ssize_t
maxlen
;
PyObject
*
weakreflist
;
/* List of weak references */
PyObject
*
weakreflist
;
}
dequeobject
;
}
dequeobject
;
static
PyTypeObject
deque_type
;
static
PyTypeObject
deque_type
;
...
@@ -1274,7 +1274,6 @@ static PySequenceMethods deque_as_sequence = {
...
@@ -1274,7 +1274,6 @@ static PySequenceMethods deque_as_sequence = {
(
objobjproc
)
deque_contains
,
/* sq_contains */
(
objobjproc
)
deque_contains
,
/* sq_contains */
(
binaryfunc
)
deque_inplace_concat
,
/* sq_inplace_concat */
(
binaryfunc
)
deque_inplace_concat
,
/* sq_inplace_concat */
0
,
/* sq_inplace_repeat */
0
,
/* sq_inplace_repeat */
};
};
/* deque object ********************************************************/
/* deque object ********************************************************/
...
@@ -1296,7 +1295,7 @@ static PyMethodDef deque_methods[] = {
...
@@ -1296,7 +1295,7 @@ static PyMethodDef deque_methods[] = {
{
"copy"
,
(
PyCFunction
)
deque_copy
,
{
"copy"
,
(
PyCFunction
)
deque_copy
,
METH_NOARGS
,
copy_doc
},
METH_NOARGS
,
copy_doc
},
{
"count"
,
(
PyCFunction
)
deque_count
,
{
"count"
,
(
PyCFunction
)
deque_count
,
METH_O
,
count_doc
},
METH_O
,
count_doc
},
{
"extend"
,
(
PyCFunction
)
deque_extend
,
{
"extend"
,
(
PyCFunction
)
deque_extend
,
METH_O
,
extend_doc
},
METH_O
,
extend_doc
},
{
"extendleft"
,
(
PyCFunction
)
deque_extendleft
,
{
"extendleft"
,
(
PyCFunction
)
deque_extendleft
,
...
@@ -1309,7 +1308,7 @@ static PyMethodDef deque_methods[] = {
...
@@ -1309,7 +1308,7 @@ static PyMethodDef deque_methods[] = {
METH_NOARGS
,
pop_doc
},
METH_NOARGS
,
pop_doc
},
{
"popleft"
,
(
PyCFunction
)
deque_popleft
,
{
"popleft"
,
(
PyCFunction
)
deque_popleft
,
METH_NOARGS
,
popleft_doc
},
METH_NOARGS
,
popleft_doc
},
{
"__reduce__"
,
(
PyCFunction
)
deque_reduce
,
{
"__reduce__"
,
(
PyCFunction
)
deque_reduce
,
METH_NOARGS
,
reduce_doc
},
METH_NOARGS
,
reduce_doc
},
{
"remove"
,
(
PyCFunction
)
deque_remove
,
{
"remove"
,
(
PyCFunction
)
deque_remove
,
METH_O
,
remove_doc
},
METH_O
,
remove_doc
},
...
...
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