summaryrefslogtreecommitdiffstats
path: root/Objects/clinic/codeobject.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/clinic/codeobject.c.h')
-rw-r--r--Objects/clinic/codeobject.c.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/Objects/clinic/codeobject.c.h b/Objects/clinic/codeobject.c.h
index 511a8e4..65801bd 100644
--- a/Objects/clinic/codeobject.c.h
+++ b/Objects/clinic/codeobject.c.h
@@ -57,27 +57,27 @@ code_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
if (!_PyArg_CheckPositional("code", PyTuple_GET_SIZE(args), 16, 18)) {
goto exit;
}
- argcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
+ argcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 0));
if (argcount == -1 && PyErr_Occurred()) {
goto exit;
}
- posonlyargcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 1));
+ posonlyargcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 1));
if (posonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
- kwonlyargcount = _PyLong_AsInt(PyTuple_GET_ITEM(args, 2));
+ kwonlyargcount = PyLong_AsInt(PyTuple_GET_ITEM(args, 2));
if (kwonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
- nlocals = _PyLong_AsInt(PyTuple_GET_ITEM(args, 3));
+ nlocals = PyLong_AsInt(PyTuple_GET_ITEM(args, 3));
if (nlocals == -1 && PyErr_Occurred()) {
goto exit;
}
- stacksize = _PyLong_AsInt(PyTuple_GET_ITEM(args, 4));
+ stacksize = PyLong_AsInt(PyTuple_GET_ITEM(args, 4));
if (stacksize == -1 && PyErr_Occurred()) {
goto exit;
}
- flags = _PyLong_AsInt(PyTuple_GET_ITEM(args, 5));
+ flags = PyLong_AsInt(PyTuple_GET_ITEM(args, 5));
if (flags == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -116,7 +116,7 @@ code_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
goto exit;
}
qualname = PyTuple_GET_ITEM(args, 12);
- firstlineno = _PyLong_AsInt(PyTuple_GET_ITEM(args, 13));
+ firstlineno = PyLong_AsInt(PyTuple_GET_ITEM(args, 13));
if (firstlineno == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -231,7 +231,7 @@ code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObje
goto skip_optional_kwonly;
}
if (args[0]) {
- co_argcount = _PyLong_AsInt(args[0]);
+ co_argcount = PyLong_AsInt(args[0]);
if (co_argcount == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -240,7 +240,7 @@ code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObje
}
}
if (args[1]) {
- co_posonlyargcount = _PyLong_AsInt(args[1]);
+ co_posonlyargcount = PyLong_AsInt(args[1]);
if (co_posonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -249,7 +249,7 @@ code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObje
}
}
if (args[2]) {
- co_kwonlyargcount = _PyLong_AsInt(args[2]);
+ co_kwonlyargcount = PyLong_AsInt(args[2]);
if (co_kwonlyargcount == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -258,7 +258,7 @@ code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObje
}
}
if (args[3]) {
- co_nlocals = _PyLong_AsInt(args[3]);
+ co_nlocals = PyLong_AsInt(args[3]);
if (co_nlocals == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -267,7 +267,7 @@ code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObje
}
}
if (args[4]) {
- co_stacksize = _PyLong_AsInt(args[4]);
+ co_stacksize = PyLong_AsInt(args[4]);
if (co_stacksize == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -276,7 +276,7 @@ code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObje
}
}
if (args[5]) {
- co_flags = _PyLong_AsInt(args[5]);
+ co_flags = PyLong_AsInt(args[5]);
if (co_flags == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -285,7 +285,7 @@ code_replace(PyCodeObject *self, PyObject *const *args, Py_ssize_t nargs, PyObje
}
}
if (args[6]) {
- co_firstlineno = _PyLong_AsInt(args[6]);
+ co_firstlineno = PyLong_AsInt(args[6]);
if (co_firstlineno == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -455,7 +455,7 @@ code__varname_from_oparg(PyCodeObject *self, PyObject *const *args, Py_ssize_t n
if (!args) {
goto exit;
}
- oparg = _PyLong_AsInt(args[0]);
+ oparg = PyLong_AsInt(args[0]);
if (oparg == -1 && PyErr_Occurred()) {
goto exit;
}
@@ -464,4 +464,4 @@ code__varname_from_oparg(PyCodeObject *self, PyObject *const *args, Py_ssize_t n
exit:
return return_value;
}
-/*[clinic end generated code: output=16c95266bbc4bc03 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=0446968a1fbd13b2 input=a9049054013a1b77]*/