Fix thread-safety note
This commit is contained in:
parent
8c317f7e0e
commit
ea354b7252
10
docs/api.rst
10
docs/api.rst
|
@ -1,12 +1,14 @@
|
||||||
Injector API reference
|
Injector API reference
|
||||||
======================
|
======================
|
||||||
|
|
||||||
.. notice:: Unless specified otherwise, instance methods are **not** thread safe.
|
.. note::
|
||||||
|
|
||||||
The following functions are thread safe:
|
Unless specified otherwise, instance methods are **not** thread safe.
|
||||||
|
|
||||||
- :meth:`Injector.get`
|
The following functions are thread safe:
|
||||||
- injection provided by :func:`inject` decorator (please note, however, that it doesn't say anything about decorated function thread safety)
|
|
||||||
|
* :meth:`Injector.get`
|
||||||
|
* injection provided by :func:`inject` decorator (please note, however, that it doesn't say anything about decorated function thread safety)
|
||||||
|
|
||||||
|
|
||||||
.. automodule:: injector
|
.. automodule:: injector
|
||||||
|
|
Loading…
Reference in New Issue