[Python-checkins] cpython: typeobject.c: remove trailing spaces
victor.stinner
python-checkins at python.org
Thu Jul 11 22:46:47 CEST 2013
http://hg.python.org/cpython/rev/a2d6274e2fc8
changeset: 84560:a2d6274e2fc8
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jul 11 22:42:25 2013 +0200
summary:
typeobject.c: remove trailing spaces
files:
Objects/typeobject.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2411,7 +2411,7 @@
char *s;
char *res_start = (char*)res;
PyType_Slot *slot;
-
+
/* Set the type name and qualname */
s = strrchr(spec->name, '.');
if (s == NULL)
@@ -2432,7 +2432,7 @@
type->tp_name = spec->name;
if (!type->tp_name)
goto fail;
-
+
/* Adjust for empty tuple bases */
if (!bases) {
base = &PyBaseObject_Type;
@@ -2516,7 +2516,7 @@
/* Set type.__module__ */
s = strrchr(spec->name, '.');
if (s != NULL)
- _PyDict_SetItemId(type->tp_dict, &PyId___module__,
+ _PyDict_SetItemId(type->tp_dict, &PyId___module__,
PyUnicode_FromStringAndSize(
spec->name, (Py_ssize_t)(s - spec->name)));
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list