Skip to content

Commit 7a0b3de

Browse files
committed
Add newlines to avoid horizontal scrolling in docs
1 parent ae199e6 commit 7a0b3de

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

injector/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)