File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -506,11 +506,13 @@ def multibind(
506506
507507 binder.multibind(list[Interface], to=A)
508508 binder.multibind(list[Interface], to=[B, C()])
509- injector.get(list[Interface]) # [<A object at 0x1000>, <B object at 0x2000>, <C object at 0x3000>]
509+ injector.get(list[Interface])
510+ # [<A object at 0x1000>, <B object at 0x2000>, <C object at 0x3000>]
510511
511512 binder.multibind(dict[str, Interface], to={'key': A})
512513 binder.multibind(dict[str, Interface], to={'other_key': B})
513- injector.get(dict[str, Interface]) # {'key': <A object at 0x1000>, 'other_key': <B object at 0x2000>}
514+ injector.get(dict[str, Interface])
515+ # {'key': <A object at 0x1000>, 'other_key': <B object at 0x2000>}
514516
515517 .. versionchanged:: 0.17.0
516518 Added support for using `typing.Dict` and `typing.List` instances as interfaces.
You can’t perform that action at this time.
0 commit comments