8000 bpo-43693: Group the code in codeobject.c logically. by ericsnowcurrently · Pull Request #26216 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-43693: Group the code in codeobject.c logically. #26216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Appease argument clinic.
  • Loading branch information
ericsnowcurrently committed May 19, 2021
commit 86dc12acb2704b97ded11d4808d33d9ba42caa22
10 changes: 5 additions & 5 deletions Objects/codeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,11 @@ _PyCode_SetExtra(PyObject *code, Py_ssize_t index, void *extra)
* PyCode_Type
******************/

/*[clinic input]
class code "PyCodeObject *" "&PyCode_Type"
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=78aa5d576683bb4b]*/

/*[clinic input]
@classmethod
code.__new__ as code_new
Expand Down Expand Up @@ -1235,11 +1240,6 @@ static struct PyMethodDef code_methods[] = {
};


/*[clinic input]
class code "PyCodeObject *" "&PyCode_Type"
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=78aa5d576683bb4b]*/

PyTypeObject PyCode_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"code",
Expand Down
0