Skip to content

Commit a4a5aa9

Browse files
committed
-
1 parent b104cf9 commit a4a5aa9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+70
-70
lines changed

source_py3/python_toolbox/arguments_profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from python_toolbox import comparison_tools
1515

1616

17-
class ArgumentsProfile(object):
17+
class ArgumentsProfile:
1818
'''
1919
A canonical arguments profile for a function.
2020

source_py3/python_toolbox/binary_search/binary_search_profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
_binary_search_both)
1919

2020

21-
class BinarySearchProfile(object):
21+
class BinarySearchProfile:
2222
'''
2323
A profile of binary search results.
2424

source_py3/python_toolbox/binary_search/roundings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# todo: Confirm that `*_IF_BOTH` options are used are used in all places that
77
# currently ~use them.
88

9-
class Rounding(object):
9+
class Rounding:
1010
'''Base class for rounding options for binary search.'''
1111

1212

source_py3/python_toolbox/caching/cached_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class CachedProperty(misc_tools.OwnNameDiscoveringDescriptor):
1717
1818
Usage:
1919
20-
class MyObject(object):
20+
class MyObject:
2121
2222
# ... Regular definitions here
2323

source_py3/python_toolbox/caching/cached_type.py

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

1212

13-
class SelfPlaceholder(object):
13+
class SelfPlaceholder:
1414
'''Placeholder for `self` when storing call-args.'''
1515

1616

source_py3/python_toolbox/caching/decorators.py

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

2121

22-
class CLEAR_ENTIRE_CACHE(object):
22+
class CLEAR_ENTIRE_CACHE:
2323
'''Sentinel object for clearing the entire cache'''
2424

2525

source_py3/python_toolbox/change_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from python_toolbox.nifty_collections import WeakKeyIdentityDict
1313

1414

15-
class ChangeTracker(object):
15+
class ChangeTracker:
1616
'''
1717
Tracks changes in objects that are registered with it.
1818

source_py3/python_toolbox/context_management/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def manage_context(self):
6464
`manage_context`, which is shorter, more idiomatic and less
6565
double-underscore-y than the equivalent classic definition:
6666
67-
class MyContextManager(object):
67+
class MyContextManager:
6868
def __enter__(self):
6969
do_some_preparation()
7070
other_context_manager.__enter__()

source_py3/python_toolbox/context_management/base_classes/decorating_context_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from python_toolbox import decorator_tools
1212

1313

14-
class DecoratingContextManager(object):
14+
class DecoratingContextManager:
1515
'''
1616
Context manager that can decorate a function to use it.
1717

source_py3/python_toolbox/context_management/self_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
See its documentation for more information.
88
'''
99

10-
class SelfHook(object):
10+
class SelfHook:
1111
'''
1212
Hook that a context manager can yield in order to yield itself.
1313

0 commit comments

Comments
 (0)