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
3ed84421
Commit
3ed84421
authored
Jan 13, 2013
by
Eli Bendersky
Browse files
Options
Browse Files
Download
Plain Diff
Clean trailing whitespace in _elementtree.c
parents
fa3965ab
45839901
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Modules/_elementtree.c
Modules/_elementtree.c
+4
-4
No files found.
Modules/_elementtree.c
View file @
3ed84421
...
...
@@ -310,7 +310,7 @@ element_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
/* Helper function for extracting the attrib dictionary from a keywords dict.
* This is required by some constructors/functions in this module that can
* either accept attrib as a keyword argument or all attributes splashed
* either accept attrib as a keyword argument or all attributes splashed
* directly into *kwds.
* If there is no 'attrib' keyword, return an empty dict.
*/
...
...
@@ -1977,7 +1977,7 @@ static PyObject *
elementiter_next
(
ElementIterObject
*
it
)
{
/* Sub-element iterator.
*
*
* A short note on gettext: this function serves both the iter() and
* itertext() methods to avoid code duplication. However, there are a few
* small differences in the way these iterations work. Namely:
...
...
@@ -3039,7 +3039,7 @@ expat_comment_handler(XMLParserObject* self, const XML_Char* comment_in)
}
}
static
void
static
void
expat_start_doctype_handler
(
XMLParserObject
*
self
,
const
XML_Char
*
doctype_name
,
const
XML_Char
*
sysid
,
...
...
@@ -3244,7 +3244,7 @@ xmlparser_init(PyObject *self, PyObject *args, PyObject *kwds)
self_xp
->
handle_doctype
=
PyObject_GetAttrString
(
target
,
"doctype"
);
PyErr_Clear
();
/* configure parser */
EXPAT
(
SetUserData
)(
self_xp
->
parser
,
self_xp
);
EXPAT
(
SetElementHandler
)(
...
...
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