Skip to content

Commit e09f291

Browse files
committed
-
1 parent 7460aff commit e09f291

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

source_py2/python_toolbox/combi/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
infinity = float('inf')
1111

1212

13-
class MISSING_ELEMENT:
13+
class MISSING_ELEMENT(object):
1414
'''A placeholder for a missing element used in internal calculations.'''
1515

1616

source_py2/python_toolbox/combi/perming/_fixed_map_managing_mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# (`PermSpace` exported to here from `perm_space.py` to avoid import loop.)
99

1010

11-
class _FixedMapManagingMixin:
11+
class _FixedMapManagingMixin(object):
1212
'''
1313
Mixin for `PermSpace` to manage the `fixed_map`. (For fixed perm spaces.)
1414
'''

source_py2/python_toolbox/combi/perming/_variation_adding_mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# (`PermSpace` exported to here from `perm_space.py` to avoid import loop.)
88

99

10-
class _VariationAddingMixin:
10+
class _VariationAddingMixin(object):
1111
'''Mixin for `PermSpace` to add variations to a perm space.'''
1212
def get_rapplied(self, sequence):
1313
'''Get a version of this `PermSpace` that has a range of `sequence`.'''

source_py2/python_toolbox/combi/perming/_variation_removing_mixin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# (`PermSpace` exported to here from `perm_space.py` to avoid import loop.)
1010

1111

12-
class _VariationRemovingMixin:
12+
class _VariationRemovingMixin(object):
1313
'''Mixin for `PermSpace` to add variations to a perm space.'''
1414
purified = caching.CachedProperty(
1515
lambda self: PermSpace(len(self.sequence)),

source_py2/python_toolbox/combi/perming/perm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ def __lt__(self, other):
427427
as_dictoid = caching.CachedProperty(PermAsDictoid)
428428

429429

430-
class UnrecurrentedMixin:
430+
class UnrecurrentedMixin(object):
431431
'''Mixin for a permutation in a space that's been unrecurrented.'''
432432
def __getitem__(self, i):
433433
return super(UnrecurrentedMixin, self).__getitem__(i)[1]

source_py2/python_toolbox/misc_tools/misc_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def decimal_number_from_string(string):
354354

355355

356356

357-
class AlternativeLengthMixin:
357+
class AlternativeLengthMixin(object):
358358
'''
359359
Mixin for sized types that makes it easy to return non-standard lengths.
360360

source_py2/python_toolbox/nifty_collections/bagging.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .abstract import Ordered, DefinitelyUnordered
2020

2121

22-
class _NO_DEFAULT:
22+
class _NO_DEFAULT(object):
2323
'''Stand-in value used in `_BaseBagMixin.pop` when no default is wanted.'''
2424

2525
class _ZeroCountAttempted(Exception):
@@ -135,7 +135,7 @@ def __repr__(self):
135135
return '<%s: %s>' % (type(self).__name__, self.our_name or self.getter)
136136

137137

138-
class _BaseBagMixin:
138+
class _BaseBagMixin(object):
139139
'''
140140
Mixin for `FrozenBag` and `FrozenOrderedBag`.
141141
@@ -779,7 +779,7 @@ def __eq__(self, other):
779779
)
780780

781781

782-
class _FrozenBagMixin:
782+
class _FrozenBagMixin(object):
783783
'''Mixin for a bag that's frozen. (i.e. can't be changed, is hashable.)'''
784784

785785
# Some properties are redefined here to be cached, since the bag is frozen

source_py2/python_toolbox/sequence_tools/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def flatten(iterable):
4747
return []
4848

4949

50-
class NO_FILL_VALUE:
50+
class NO_FILL_VALUE(object):
5151
'''
5252
Sentinel that means: Don't fill last partition with default fill values.
5353
'''

source_py2/test_python_toolbox/test_combi/test_extensive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class NO_ARGUMENT(metaclass=_NO_ARGUMENT_TYPE): pass
3030

3131

3232

33-
class BrutePermSpace:
33+
class BrutePermSpace(object):
3434
'''
3535
A `PermSpace` substitute used for testing `PermSpace`.
3636
@@ -142,7 +142,7 @@ def _iter(self):
142142

143143

144144

145-
class FruityMixin: pass
145+
class FruityMixin(object): pass
146146
class FruityPerm(FruityMixin, Perm): pass
147147
class FruityComb(FruityMixin, Comb): pass
148148
class FruityTuple(FruityMixin, tuple): pass

source_py2/test_python_toolbox/test_proxy_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from python_toolbox.misc_tools import ProxyProperty
1111

1212

13-
class Object:
13+
class Object(object):
1414
pass
1515

1616

0 commit comments

Comments
 (0)