Correct two typos
This commit is contained in:
parent
4e3a28911c
commit
94e5b175d7
|
@ -52,7 +52,7 @@ The core values of Injector are:
|
|||
`SomeType`, therefore making it possible for tools such as [mypy](https://github.com/python/mypy) to
|
||||
type-check correctly the code using it.
|
||||
|
||||
* The client code only knows about dependency injection to the extend it needs –
|
||||
* The client code only knows about dependency injection to the extent it needs –
|
||||
[`inject`](https://injector.readthedocs.io/en/latest/api.html#injector.inject),
|
||||
[`Inject`](https://injector.readthedocs.io/en/latest/api.html#injector.Inject) and
|
||||
[`NoInject`](https://injector.readthedocs.io/en/latest/api.html#injector.NoInject) are simple markers
|
||||
|
|
|
@ -1481,7 +1481,7 @@ def test_get_bindings():
|
|||
|
||||
assert get_bindings(function7) == {}
|
||||
|
||||
# There was a bug where in case of multiple NoInject-decorater parameters only the first one was
|
||||
# There was a bug where in case of multiple NoInject-decorated parameters only the first one was
|
||||
# actually made noninjectable and we tried to inject something we couldn't possibly provide
|
||||
# into the second one.
|
||||
@inject
|
||||
|
|
Loading…
Reference in New Issue