Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 216b78b

Browse files
committed
Trimmed trailing whitespace.
1 parent 1df5c39 commit 216b78b

1 file changed

Lines changed: 20 additions & 20 deletions

File tree

Python/sysmodule.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -457,16 +457,16 @@ sys_settscdump(PyObject *self, PyObject *args)
457457
tstate->interp->tscdump = 0;
458458
Py_INCREF(Py_None);
459459
return Py_None;
460-
460+
461461
}
462462

463-
PyDoc_STRVAR(settscdump_doc,
463+
PyDoc_STRVAR(settscdump_doc,
464464
"settscdump(bool)\n\
465465
\n\
466466
If true, tell the Python interpreter to dump VM measurements to\n\
467467
stderr. If false, turn off dump. The measurements are based on the\n\
468468
processor's time-stamp counter."
469-
);
469+
);
470470
#endif /* TSC */
471471

472472
static PyObject *
@@ -476,8 +476,8 @@ sys_setrecursionlimit(PyObject *self, PyObject *args)
476476
if (!PyArg_ParseTuple(args, "i:setrecursionlimit", &new_limit))
477477
return NULL;
478478
if (new_limit <= 0) {
479-
PyErr_SetString(PyExc_ValueError,
480-
"recursion limit must be positive");
479+
PyErr_SetString(PyExc_ValueError,
480+
"recursion limit must be positive");
481481
return NULL;
482482
}
483483
Py_SetRecursionLimit(new_limit);
@@ -713,19 +713,19 @@ extern PyObject *_Py_GetDXProfile(PyObject *, PyObject *);
713713

714714
static PyMethodDef sys_methods[] = {
715715
/* Might as well keep this in alphabetic order */
716-
{"callstats", (PyCFunction)PyEval_GetCallStats, METH_NOARGS,
716+
{"callstats", (PyCFunction)PyEval_GetCallStats, METH_NOARGS,
717717
callstats_doc},
718718
{"displayhook", sys_displayhook, METH_O, displayhook_doc},
719719
{"exc_info", sys_exc_info, METH_NOARGS, exc_info_doc},
720720
{"exc_clear", sys_exc_clear, METH_NOARGS, exc_clear_doc},
721721
{"excepthook", sys_excepthook, METH_VARARGS, excepthook_doc},
722722
{"exit", sys_exit, METH_VARARGS, exit_doc},
723723
#ifdef Py_USING_UNICODE
724-
{"getdefaultencoding", (PyCFunction)sys_getdefaultencoding,
725-
METH_NOARGS, getdefaultencoding_doc},
724+
{"getdefaultencoding", (PyCFunction)sys_getdefaultencoding,
725+
METH_NOARGS, getdefaultencoding_doc},
726726
#endif
727727
#ifdef HAVE_DLOPEN
728-
{"getdlopenflags", (PyCFunction)sys_getdlopenflags, METH_NOARGS,
728+
{"getdlopenflags", (PyCFunction)sys_getdlopenflags, METH_NOARGS,
729729
getdlopenflags_doc},
730730
#endif
731731
#ifdef COUNT_ALLOCS
@@ -736,7 +736,7 @@ static PyMethodDef sys_methods[] = {
736736
#endif
737737
#ifdef Py_USING_UNICODE
738738
{"getfilesystemencoding", (PyCFunction)sys_getfilesystemencoding,
739-
METH_NOARGS, getfilesystemencoding_doc},
739+
METH_NOARGS, getfilesystemencoding_doc},
740740
#endif
741741
#ifdef Py_TRACE_REFS
742742
{"getobjects", _Py_GetObjects, METH_VARARGS},
@@ -757,14 +757,14 @@ static PyMethodDef sys_methods[] = {
757757
#endif
758758
#ifdef Py_USING_UNICODE
759759
{"setdefaultencoding", sys_setdefaultencoding, METH_VARARGS,
760-
setdefaultencoding_doc},
760+
setdefaultencoding_doc},
761761
#endif
762762
{"setcheckinterval", sys_setcheckinterval, METH_VARARGS,
763-
setcheckinterval_doc},
763+
setcheckinterval_doc},
764764
{"getcheckinterval", sys_getcheckinterval, METH_NOARGS,
765-
getcheckinterval_doc},
765+
getcheckinterval_doc},
766766
#ifdef HAVE_DLOPEN
767-
{"setdlopenflags", sys_setdlopenflags, METH_VARARGS,
767+
{"setdlopenflags", sys_setdlopenflags, METH_VARARGS,
768768
setdlopenflags_doc},
769769
#endif
770770
{"setprofile", sys_setprofile, METH_O, setprofile_doc},
@@ -957,7 +957,7 @@ static void svnversion_init(void)
957957

958958
br_start = python + 8;
959959
br_end = strchr(br_start, '/');
960-
/* Works even for trunk,
960+
/* Works even for trunk,
961961
as we are in trunk/Python/sysmodule.c */
962962
br_end2 = strchr(br_end+1, '/');
963963

@@ -966,7 +966,7 @@ static void svnversion_init(void)
966966
strcpy(branch, "trunk");
967967
strcpy(shortbranch, "trunk");
968968

969-
}
969+
}
970970
else if (istag || strncmp(br_start, "branches", 8) == 0) {
971971
len = br_end2 - br_start;
972972
strncpy(branch, br_start, len);
@@ -975,7 +975,7 @@ static void svnversion_init(void)
975975
len = br_end2 - (br_end + 1);
976976
strncpy(shortbranch, br_end + 1, len);
977977
shortbranch[len] = '\0';
978-
}
978+
}
979979
else {
980980
Py_FatalError("bad HeadURL");
981981
return;
@@ -994,7 +994,7 @@ static void svnversion_init(void)
994994
}
995995
else
996996
svn_revision = "";
997-
997+
998998
svn_initialized = 1;
999999
}
10001000

@@ -1168,7 +1168,7 @@ _PySys_Init(void)
11681168
if (warnoptions != NULL) {
11691169
PyDict_SetItemString(sysdict, "warnoptions", warnoptions);
11701170
}
1171-
1171+
11721172
if (PyErr_Occurred())
11731173
return NULL;
11741174
return m;
@@ -1180,7 +1180,7 @@ makepathobject(char *path, int delim)
11801180
int i, n;
11811181
char *p;
11821182
PyObject *v, *w;
1183-
1183+
11841184
n = 1;
11851185
p = path;
11861186
while ((p = strchr(p, delim)) != NULL) {

0 commit comments

Comments
 (0)