Skip to content

Commit d2e64a1

Browse files
committed
-
1 parent 7557f6c commit d2e64a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python_toolbox/decorator_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def bar():
4646

4747
assert isinstance(decorator_builder, types.FunctionType)
4848

49-
def inner(same_decorator_builder, *args, **kwargs):
49+
def inner(*args, **kwargs):
5050

5151
if args and isinstance(args[0], types.FunctionType):
5252
function = args[0]
@@ -59,4 +59,4 @@ def inner(same_decorator_builder, *args, **kwargs):
5959
else:
6060
return decorator_builder(*args, **kwargs)
6161

62-
return functools.wraps(inner)(decorator_builder)
62+
return functools.wraps(decorator_builder)(inner)

test_python_toolbox/test_nifty_collections/test_lazy_tuple/test_lazy_tuple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from python_toolbox.nifty_collections import LazyTuple
1616

1717

18-
class SelfAwareUuidIterator(collections.Iterator):
18+
class SelfAwareUuidIterator(collections.abc.Iterator):
1919
'''Iterator that gives UUIDs and keeps them all in an internal list.'''
2020
def __init__(self):
2121
self.data = []

0 commit comments

Comments
 (0)