summaryrefslogtreecommitdiff
path: root/docutils/statemachine.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-03 22:15:16 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2022-03-03 22:15:16 +0000
commitfaead009d84ffc861bbb0605e339bc18a79183ee (patch)
tree84855c6ab6b1f0221077019e130a6635ed941a88 /docutils/statemachine.py
parent2cce4ee47ae89eb51dbac441a2b1ff9c5873275c (diff)
downloaddocutils-faead009d84ffc861bbb0605e339bc18a79183ee.tar.gz
Fix multiple spaces before/after operator
E221 multiple spaces before operator E222 multiple spaces after operator git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@9016 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/statemachine.py')
-rw-r--r--docutils/statemachine.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docutils/statemachine.py b/docutils/statemachine.py
index 984a3a36c..984a307c4 100644
--- a/docutils/statemachine.py
+++ b/docutils/statemachine.py
@@ -431,7 +431,7 @@ class StateMachine:
value is returned.
"""
if transitions is None:
- transitions = state.transition_order
+ transitions = state.transition_order
state_correction = None
if self.debug:
print('\nStateMachine.check_line: state="%s", transitions=%r.'
@@ -1106,11 +1106,11 @@ class ViewList:
return '%s(%s, items=%s)' % (self.__class__.__name__,
self.data, self.items)
- def __lt__(self, other): return self.data < self.__cast(other)
+ def __lt__(self, other): return self.data < self.__cast(other)
def __le__(self, other): return self.data <= self.__cast(other)
def __eq__(self, other): return self.data == self.__cast(other)
def __ne__(self, other): return self.data != self.__cast(other)
- def __gt__(self, other): return self.data > self.__cast(other)
+ def __gt__(self, other): return self.data > self.__cast(other)
def __ge__(self, other): return self.data >= self.__cast(other)
def __cast(self, other):