Fix DT to RST Python 3 regression