mirror of
https://github.com/python/cpython.git
synced 2025-11-07 09:02:02 +00:00
fix code formatting
This commit is contained in:
parent
094c53cf6e
commit
1056ca264f
2 changed files with 6 additions and 4 deletions
|
|
@ -733,7 +733,8 @@ def visitModule(self, mod):
|
|||
{
|
||||
int i, result;
|
||||
PyObject *s, *l = PyTuple_New(num_fields);
|
||||
if (!l) return 0;
|
||||
if (!l)
|
||||
return 0;
|
||||
for (i = 0; i < num_fields; i++) {
|
||||
s = PyString_FromString(attrs[i]);
|
||||
if (!s) {
|
||||
|
|
|
|||
|
|
@ -527,7 +527,8 @@ static int add_attributes(PyTypeObject* type, char**attrs, int num_fields)
|
|||
{
|
||||
int i, result;
|
||||
PyObject *s, *l = PyTuple_New(num_fields);
|
||||
if (!l) return 0;
|
||||
if (!l)
|
||||
return 0;
|
||||
for (i = 0; i < num_fields; i++) {
|
||||
s = PyString_FromString(attrs[i]);
|
||||
if (!s) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue