Fix bug #410 The 'document' attribute is None for many nodes.
commita7861d3cbde53074090cb5b6deae8c0164871a88
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Wed, 9 Dec 2020 15:52:16 +0000 (9 15:52 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Wed, 9 Dec 2020 15:52:16 +0000 (9 15:52 +0000)
treedec6362b7c0473fb29f5f1011e2eed6ecd3849c9
parenta7d30602cff3b7d84f8b29d360cb7400845a1213
Fix bug #410 The 'document' attribute is None for many nodes.

Use a "property" function to recursively fetch the
`Node.document` value from the parent node.

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