@@ -129,7 +129,7 @@ def __flush(self, indent=True):
129129
130130 def start (self , tag , attrib = {}, ** extra ):
131131 """
132- Opens a new element. Attributes can be given as keyword
132+ Open a new element. Attributes can be given as keyword
133133 arguments, or as a string/string dictionary. The method returns
134134 an opaque identifier that can be passed to the :meth:`close`
135135 method, to close all open elements up to and including this one.
@@ -162,7 +162,7 @@ def start(self, tag, attrib={}, **extra):
162162
163163 def comment (self , comment ):
164164 """
165- Adds a comment to the output stream.
165+ Add a comment to the output stream.
166166
167167 Parameters
168168 ----------
@@ -175,7 +175,7 @@ def comment(self, comment):
175175
176176 def data (self , text ):
177177 """
178- Adds character data to the output stream.
178+ Add character data to the output stream.
179179
180180 Parameters
181181 ----------
@@ -186,7 +186,7 @@ def data(self, text):
186186
187187 def end (self , tag = None , indent = True ):
188188 """
189- Closes the current element (opened by the most recent call to
189+ Close the current element (opened by the most recent call to
190190 :meth:`start`).
191191
192192 Parameters
@@ -214,7 +214,7 @@ def end(self, tag=None, indent=True):
214214
215215 def close (self , id ):
216216 """
217- Closes open elements, up to (and including) the element identified
217+ Close open elements, up to (and including) the element identified
218218 by the given identifier.
219219
220220 Parameters
@@ -227,7 +227,7 @@ def close(self, id):
227227
228228 def element (self , tag , text = None , attrib = {}, ** extra ):
229229 """
230- Adds an entire element. This is the same as calling :meth:`start`,
230+ Add an entire element. This is the same as calling :meth:`start`,
231231 :meth:`data`, and :meth:`end` in sequence. The *text* argument can be
232232 omitted.
233233 """
@@ -237,7 +237,7 @@ def element(self, tag, text=None, attrib={}, **extra):
237237 self .end (indent = False )
238238
239239 def flush (self ):
240- """Flushes the output stream."""
240+ """Flush the output stream."""
241241 pass # replaced by the constructor
242242
243243
0 commit comments