trivial: Set 'ListTable.check_list_content.num_cols' always
commit2383cd7c4af3b9c572167144903415679379beb3
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 27 Aug 2019 19:49:45 +0000 (27 19:49 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Tue, 27 Aug 2019 19:49:45 +0000 (27 19:49 +0000)
tree9eeeba6c3860909eece6dc8413b4ce2c9450be53
parentd0f90f088f997348761aa15b896ca3be5b3aaeb7
trivial: Set 'ListTable.check_list_content.num_cols' always

Rather than having a TODO that tells users that this attribute is always
set in a given loop, just set it at the top. Much simpler.

Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8377 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docutils/parsers/rst/directives/tables.py