diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-01-27 17:10:14 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-01-27 17:10:14 (GMT) |
commit | e7bb9188f431b3d5c5c1b53188db33565bcaea2b (patch) | |
tree | c86afd3401810494a54edba61292d743b2c11897 | |
parent | 9bba7b70852bc0aff6abafcafe46c25c19eb8f81 (diff) | |
download | cpython-e7bb9188f431b3d5c5c1b53188db33565bcaea2b.zip cpython-e7bb9188f431b3d5c5c1b53188db33565bcaea2b.tar.gz cpython-e7bb9188f431b3d5c5c1b53188db33565bcaea2b.tar.bz2 |
Whitespace cleanup
-rw-r--r-- | Objects/typeobject.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index d4a70d4..ce413e6 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -58,7 +58,7 @@ type_modified(PyTypeObject *type) PyObject *raw, *ref; Py_ssize_t i, n; - if(!PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG)) + if (!PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG)) return; raw = type->tp_subclasses; @@ -94,7 +94,7 @@ type_mro_modified(PyTypeObject *type, PyObject *bases) { Py_ssize_t i, n; int clear = 0; - if(!PyType_HasFeature(type, Py_TPFLAGS_HAVE_VERSION_TAG)) + if (!PyType_HasFeature(type, Py_TPFLAGS_HAVE_VERSION_TAG)) return; n = PyTuple_GET_SIZE(bases); @@ -1388,8 +1388,8 @@ mro_implementation(PyTypeObject *type) PyObject *bases, *result; PyObject *to_merge, *bases_aslist; - if(type->tp_dict == NULL) { - if(PyType_Ready(type) < 0) + if (type->tp_dict == NULL) { + if (PyType_Ready(type) < 0) return NULL; } @@ -2321,7 +2321,7 @@ _PyType_Lookup(PyTypeObject *type, PyObject *name) unsigned int h; if (MCACHE_CACHEABLE_NAME(name) && - PyType_HasFeature(type,Py_TPFLAGS_VALID_VERSION_TAG)) { + PyType_HasFeature(type, Py_TPFLAGS_VALID_VERSION_TAG)) { /* fast path */ h = MCACHE_HASH_METHOD(type, name); if (method_cache[h].version == type->tp_version_tag && |