Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9f191371
Commit
9f191371
authored
Jan 07, 2005
by
Andrew McNamara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to use PEP7 brace style.
parent
dca49499
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Modules/_csv.c
Modules/_csv.c
+4
-2
No files found.
Modules/_csv.c
View file @
9f191371
...
@@ -238,7 +238,8 @@ _set_str(const char *name, PyObject **target, PyObject *src, const char *dflt)
...
@@ -238,7 +238,8 @@ _set_str(const char *name, PyObject **target, PyObject *src, const char *dflt)
PyErr_Format
(
PyExc_TypeError
,
PyErr_Format
(
PyExc_TypeError
,
"
\"
%s
\"
must be an string"
,
name
);
"
\"
%s
\"
must be an string"
,
name
);
return
-
1
;
return
-
1
;
}
else
{
}
else
{
Py_XDECREF
(
*
target
);
Py_XDECREF
(
*
target
);
Py_INCREF
(
src
);
Py_INCREF
(
src
);
*
target
=
src
;
*
target
=
src
;
...
@@ -1025,7 +1026,8 @@ join_append_data(WriterObj *self, char *field, int quote_empty,
...
@@ -1025,7 +1026,8 @@ join_append_data(WriterObj *self, char *field, int quote_empty,
PyErr_Format
(
error_obj
,
PyErr_Format
(
error_obj
,
"single empty field record must be quoted"
);
"single empty field record must be quoted"
);
return
-
1
;
return
-
1
;
}
else
}
else
*
quoted
=
1
;
*
quoted
=
1
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment