tatuylonen / wikitextprocessor

Python package for WikiMedia dump processing (Wiktionary, Wikipedia etc). Wikitext parsing, template expansion, Lua module execution. For data extraction, bulk syntax checking, error detection, and offline formatting.
Other
94 stars 23 forks source link

Overload WikiNode.find_child with a LEVEL variant #327

Closed kristian-clausal closed 1 month ago

kristian-clausal commented 1 month ago

When given a literal NodeKind.LEVEL*, .find_child returns a LevelNode.