X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml%2Fparser.py;h=e2b7c800d03f7d30f5bb0d0fc1c04ee47120e24d;hp=bf850a7aae753d5f7b52592b113965043ed0a402;hb=5733428dbb7033a5827013cd1f55894a99708bab;hpb=ef50d69288ee60ac2a8fae2ffe5860e80299fd72 diff --git a/bulletml/parser.py b/bulletml/parser.py index bf850a7..e2b7c80 100644 --- a/bulletml/parser.py +++ b/bulletml/parser.py @@ -185,6 +185,7 @@ class Repeat(object): @classmethod def FromElement(cls, doc, element): + """Construct using an ElementTree-style element.""" for subelem in element.getchildren(): tag = realtag(subelem) if tag == "times":