Skip to content

Commit 9faa32a

Browse files
committed
format
1 parent 2d45015 commit 9faa32a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

injector/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def __init__(self, parent: 'Binder') -> None:
352352

353353
def append(self, provider: Provider[T], scope: Type['Scope']) -> None:
354354
# HACK: generate a pseudo-type for this element in the list.
355-
# This is needed for scopes to work properly. Some, like the Singleton scope,
355+
# This is needed for scopes to work properly. Some, like the Singleton scope,
356356
# key instances by type, so we need one that is unique to this binding.
357357
pseudo_type = type(f"multibind-type-{id(provider)}", (provider.__class__,), {})
358358
self._multi_bindings.append(Binding(pseudo_type, provider, scope))
@@ -581,7 +581,7 @@ def multibind(
581581
else:
582582
element_binding = self.create_binding(interface, to, scope)
583583
multi_binder.append(element_binding.provider, element_binding.scope)
584-
584+
585585
def _get_multi_binder(self, interface: type) -> MultiBinder:
586586
multi_binder: MultiBinder
587587
if interface not in self._bindings:
@@ -600,7 +600,7 @@ def _get_multi_binder(self, interface: type) -> MultiBinder:
600600
binding = self._bindings[interface]
601601
assert isinstance(binding.provider, MultiBinder)
602602
multi_binder = binding.provider
603-
603+
604604
return multi_binder
605605

606606
def install(self, module: _InstallableModuleType) -> None:

0 commit comments

Comments
 (0)