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
35ecebe1
Commit
35ecebe1
authored
Jan 18, 2017
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused func parameter of _PyStack_UnpackDict()
Issue #29259.
parent
52f29591
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
Include/abstract.h
Include/abstract.h
+1
-2
Objects/abstract.c
Objects/abstract.c
+1
-1
Objects/methodobject.c
Objects/methodobject.c
+1
-2
No files found.
Include/abstract.h
View file @
35ecebe1
...
...
@@ -193,8 +193,7 @@ PyAPI_FUNC(int) _PyStack_UnpackDict(
Py_ssize_t
nargs
,
PyObject
*
kwargs
,
PyObject
***
p_stack
,
PyObject
**
p_kwnames
,
PyObject
*
func
);
PyObject
**
p_kwnames
);
/* Suggested size (number of positional arguments) for arrays of PyObject*
allocated on a C stack to avoid allocating memory on the heap memory. Such
...
...
Objects/abstract.c
View file @
35ecebe1
...
...
@@ -2423,7 +2423,7 @@ _PyStack_AsDict(PyObject **values, PyObject *kwnames)
int
_PyStack_UnpackDict
(
PyObject
**
args
,
Py_ssize_t
nargs
,
PyObject
*
kwargs
,
PyObject
***
p_stack
,
PyObject
**
p_kwnames
,
PyObject
*
func
)
PyObject
***
p_stack
,
PyObject
**
p_kwnames
)
{
PyObject
**
stack
,
**
kwstack
;
Py_ssize_t
nkwargs
;
...
...
Objects/methodobject.c
View file @
35ecebe1
...
...
@@ -240,8 +240,7 @@ _PyCFunction_FastCallDict(PyObject *func_obj, PyObject **args, Py_ssize_t nargs,
PyObject
*
kwnames
;
_PyCFunctionFast
fastmeth
=
(
_PyCFunctionFast
)
meth
;
if
(
_PyStack_UnpackDict
(
args
,
nargs
,
kwargs
,
&
stack
,
&
kwnames
,
func_obj
)
<
0
)
{
if
(
_PyStack_UnpackDict
(
args
,
nargs
,
kwargs
,
&
stack
,
&
kwnames
)
<
0
)
{
return
NULL
;
}
...
...
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