Am Donnerstag, 14. Dezember 2017 11:05:46 UTC+1 schrieb Edward K. Ream:
In our code, bool(node) is always True, so this comment is a bit off the > mark. > Well that's a chance to fix this. You are also free to enhance the check.Checking expliciet for None is popular with other DOM-libs. BTW In your defaultdict-example there is a known_classes0 which is not part of the code. And it's not clear how that (again overcomplicated) code is better than a regular defaultdict(dict). -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
