Skip to content

Commit b889fec

Browse files
committed
Formatting
1 parent 223f51f commit b889fec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tpcp/_base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,9 @@ def new_init(self: _BaseTpcpObjectT, *args: P.args, **kwargs: P.kwargs) -> None:
164164
# And replace the value accordingly.
165165
# This is handled by the factory `get_value` method.
166166
passed_params = {**defaults, **inspect.signature(old_init).bind(self, *args, **kwargs).arguments}
167-
sentinel = object() # We use a unique object to check if the value was set. We can not use NOTHING here, as
168-
# NOTHING can be a valid input parameter value.
167+
# We use a unique object to check if the value was set. We can not use NOTHING here, as
168+
# NOTHING can be a valid input parameter value.
169+
sentinel = object()
169170
for p in params:
170171
passed_value = passed_params[p]
171172
set_value = getattr(self, p, sentinel)

0 commit comments

Comments
 (0)