Skip to content

Commit 2e7d3a3

Browse files
committed
-
1 parent d71453e commit 2e7d3a3

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

source_py3/python_toolbox/caching/cached_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ def __call__(cls, *args, **kwargs):
5858
return cls.__cache[sleek_call_args]
5959
except KeyError:
6060
cls.__cache[sleek_call_args] = value = \
61-
super().__call__(*args, **kwargs)
61+
super().__call__(*args, **kwargs)
6262
return value

source_py3/python_toolbox/context_management/context_manager_type.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,7 @@ def __new__(mcls, name, bases, namespace):
6666
namespace['__exit__'] = \
6767
ContextManager._ContextManager__exit_using_manage_context
6868

69-
result_class = super().__new__(
70-
mcls,
71-
name,
72-
bases,
73-
namespace
74-
)
69+
result_class = super().__new__(mcls, name, bases, namespace)
7570

7671

7772
if (not result_class.__is_the_base_context_manager_class()) and \

source_py3/python_toolbox/context_management/context_manager_type_type.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ def MyContextManager():
5353
'__init__': ContextManager.\
5454
_ContextManager__init_lone_manage_context
5555
}
56-
return super().__call__(
57-
name,
58-
bases,
59-
namespace_dict
60-
)
56+
return super().__call__(name, bases, namespace_dict)
6157

6258
else:
6359
return super().__call__(*args)

0 commit comments

Comments
 (0)