diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:10:59 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-08-26 12:10:59 +0000 |
| commit | 83bba3a37073a7c90e057d742e4e8965a0580088 (patch) | |
| tree | f5751fff9b0e24026443b6d9785441a9ced1d341 /docutils/statemachine.py | |
| parent | 334d3537daf24dd74f1555c416523d3e376232c9 (diff) | |
| download | docutils-83bba3a37073a7c90e057d742e4e8965a0580088.tar.gz | |
py3: Use new style classes
Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8345 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/statemachine.py')
| -rw-r--r-- | docutils/statemachine.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docutils/statemachine.py b/docutils/statemachine.py index c59531e26..888cc9d22 100644 --- a/docutils/statemachine.py +++ b/docutils/statemachine.py @@ -114,7 +114,7 @@ from docutils import utils from docutils.utils.error_reporting import ErrorOutput -class StateMachine: +class StateMachine(object): """ A finite state machine for text filters using regular expressions. @@ -518,7 +518,7 @@ class StateMachine: observer(*info) -class State: +class State(object): """ State superclass. Contains a list of transitions, and transition methods. @@ -1034,7 +1034,7 @@ class StateWS(State): return context, next_state, results -class _SearchOverride: +class _SearchOverride(object): """ Mix-in class to override `StateMachine` regular expression behavior. @@ -1067,7 +1067,7 @@ class SearchStateMachineWS(_SearchOverride, StateMachineWS): pass -class ViewList: +class ViewList(object): """ List with extended functionality: slices of ViewList objects are child |
