Sort "nodes" and "test_nodes".
commitc7a352d726bc119b20a0711937fdbdeec433404c
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sat, 4 May 2024 08:58:09 +0000 (4 08:58 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sat, 4 May 2024 08:58:09 +0000 (4 08:58 +0000)
tree8b5f9af3b8cb8fc3ce79a3e140a1cbd9243bebb5
parente2ca88309df5e535efd7977bc98afd6d4851d990
Sort "nodes" and "test_nodes".

Sort definitions in "nodes.py" to get a clearer structure.

Move `TextElement` to the end of "Element Categories", so that
the Inline Element Category class can be declared as valid child
element (for use with the to-be-defined `Element.validate()` method.

Sort tests to better match the structure of "nodes.py".

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9680 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docutils/nodes.py
docutils/test/test_nodes.py