mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Revert whitespace fixes to third_party (#501)
This commit is contained in:
parent
d4000bb8f7
commit
9de3d8f1e6
365 changed files with 39190 additions and 39211 deletions
4
third_party/python/Objects/call.c
vendored
4
third_party/python/Objects/call.c
vendored
|
@ -678,13 +678,13 @@ _PyMethodDef_RawFastCallKeywords(PyMethodDef *method, PyObject *self, PyObject *
|
|||
result = ((_PyCFunctionFastWithKeywords)meth) (self, args, nargs, kwnames);
|
||||
break;
|
||||
|
||||
|
||||
|
||||
case METH_VARARGS:
|
||||
if (nkwargs) {
|
||||
goto no_keyword_error;
|
||||
}
|
||||
/* fall through next case */
|
||||
|
||||
|
||||
case METH_VARARGS | METH_KEYWORDS:
|
||||
{
|
||||
/* Slow-path: create a temporary tuple for positional arguments
|
||||
|
|
2
third_party/python/Objects/floatobject.c
vendored
2
third_party/python/Objects/floatobject.c
vendored
|
@ -1047,7 +1047,7 @@ float_round(PyObject *v, PyObject **args, Py_ssize_t nargs)
|
|||
x = PyFloat_AsDouble(v);
|
||||
if (!_PyArg_UnpackStack(args, nargs, "__round__", 0, 1, &o_ndigits))
|
||||
return NULL;
|
||||
|
||||
|
||||
if (o_ndigits == NULL || o_ndigits == Py_None) {
|
||||
/* single-argument round or with None ndigits:
|
||||
* round to nearest integer */
|
||||
|
|
2
third_party/python/Objects/frameobject.c
vendored
2
third_party/python/Objects/frameobject.c
vendored
|
@ -469,7 +469,7 @@ frame_dealloc(PyFrameObject *restrict f)
|
|||
|
||||
if (_PyObject_GC_IS_TRACKED(f))
|
||||
_PyObject_GC_UNTRACK(f);
|
||||
|
||||
|
||||
Py_TRASHCAN_SAFE_BEGIN(f)
|
||||
/* Kill all local variables */
|
||||
valuestack = f->f_valuestack;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue