- Notifications
You must be signed in to change notification settings - Fork294
Commit3e50aad
committed
Don't rely on the ElementTree Comment factory being the tag attribute on Comments.
This is needed for xml.etree.cElementTree under 2.6 (and likely hence custominstalls of cElementTree 1.2), where the tag property is equal toxml.etree.ElementTree.Comment (i.e., the pure Python version).Similarly, don't rely on type(comment.tag), as this is just function!1 parent4e06f37 commit3e50aad
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
207 | 208 |
| |
208 | 209 |
| |
209 | 210 |
| |
210 |
| - | |
| 211 | + | |
211 | 212 |
| |
212 | 213 |
| |
213 | 214 |
| |
| |||
275 | 276 |
| |
276 | 277 |
| |
277 | 278 |
| |
278 |
| - | |
| 279 | + | |
279 | 280 |
| |
280 | 281 |
| |
281 | 282 |
| |
|
0 commit comments
Comments
(0)