py3: Replace 'types.SliceType' with slice, remove 'types.ClassType'.
commitfc4f6a4da70570adaf813f30597567ec2ab56d70
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Mon, 26 Aug 2019 16:42:50 +0000 (26 16:42 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Mon, 26 Aug 2019 16:42:50 +0000 (26 16:42 +0000)
tree1519d8680fea7a08d265855c48cda59e7fa8f885
parentba681cd886acf45cf00c35d3fdebefceb231fe0e
py3: Replace 'types.SliceType' with slice, remove 'types.ClassType'.

These types have been removed in Python 3,
`SliceType` is an alias for `slice` already in Python 2.7,
`ClassType` is for user-defined old-style classes (we now use only new style classes).

Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8355 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docutils/nodes.py
docutils/docutils/statemachine.py
docutils/test/test_nodes.py