Skip to content

Commit 25d2fe2

Browse files
committed
Small documentation fix
1 parent bf68f6b commit 25d2fe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ optimal as it reduces necessary computation for expensive services and reduces
3131

3232
#### Decorator Injection
3333

34-
With this approach you can automatically inject functions at load time using the `@wiring.injected` decorator.
34+
With this approach you can automatically inject functions at load time using the `@wiring.inject` decorator.
3535

3636
```python
3737
from pif import wiring, providers
@@ -113,7 +113,7 @@ if __name__ == "__main__":
113113

114114
OverrideProvider = providers.ExistingSingleton("overridden_1")
115115

116-
with StringProvider.override_existing(OverrideProvider):
116+
with StringProvider.override(OverrideProvider):
117117
assert "overridden_1" == my_function()
118118

119119
with OverrideProvider.override_existing("overridden_2"):

0 commit comments

Comments
 (0)