]> granicus.if.org Git - python/commitdiff
Clean trailing whitespace in _elementtree.c
authorEli Bendersky <eliben@gmail.com>
Sun, 13 Jan 2013 13:14:47 +0000 (05:14 -0800)
committerEli Bendersky <eliben@gmail.com>
Sun, 13 Jan 2013 13:14:47 +0000 (05:14 -0800)
Modules/_elementtree.c

index 3f357b0275f86c063a89c7c028e5590e008d64cf..274c65ed1eb7a26395a08c4fa9909d1015bcb58d 100644 (file)
@@ -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)(