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
043c8f86
Commit
043c8f86
authored
Nov 29, 2007
by
Christian Heimes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed iter* methods from dictproxy.
The iter methods were a non-working relict from the past.
parent
c0ac106f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
Objects/descrobject.c
Objects/descrobject.c
+0
-24
No files found.
Objects/descrobject.c
View file @
043c8f86
...
...
@@ -725,23 +725,6 @@ proxy_items(proxyobject *pp)
return
PyMapping_Items
(
pp
->
dict
);
}
static
PyObject
*
proxy_iterkeys
(
proxyobject
*
pp
)
{
return
PyObject_CallMethod
(
pp
->
dict
,
"iterkeys"
,
NULL
);
}
static
PyObject
*
proxy_itervalues
(
proxyobject
*
pp
)
{
return
PyObject_CallMethod
(
pp
->
dict
,
"itervalues"
,
NULL
);
}
static
PyObject
*
proxy_iteritems
(
proxyobject
*
pp
)
{
return
PyObject_CallMethod
(
pp
->
dict
,
"iteritems"
,
NULL
);
}
static
PyObject
*
proxy_copy
(
proxyobject
*
pp
)
{
...
...
@@ -758,13 +741,6 @@ static PyMethodDef proxy_methods[] = {
PyDoc_STR
(
"D.values() -> list of D's values"
)},
{
"items"
,
(
PyCFunction
)
proxy_items
,
METH_NOARGS
,
PyDoc_STR
(
"D.items() -> list of D's (key, value) pairs, as 2-tuples"
)},
{
"iterkeys"
,
(
PyCFunction
)
proxy_iterkeys
,
METH_NOARGS
,
PyDoc_STR
(
"D.iterkeys() -> an iterator over the keys of D"
)},
{
"itervalues"
,(
PyCFunction
)
proxy_itervalues
,
METH_NOARGS
,
PyDoc_STR
(
"D.itervalues() -> an iterator over the values of D"
)},
{
"iteritems"
,
(
PyCFunction
)
proxy_iteritems
,
METH_NOARGS
,
PyDoc_STR
(
"D.iteritems() ->"
" an iterator over the (key, value) items of D"
)},
{
"copy"
,
(
PyCFunction
)
proxy_copy
,
METH_NOARGS
,
PyDoc_STR
(
"D.copy() -> a shallow copy of D"
)},
{
0
}
...
...
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