Skip to content

Commit ea354b7

Browse files
committed
Fix thread-safety note
1 parent 8c317f7 commit ea354b7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/api.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
Injector API reference
22
======================
33

4-
.. notice:: Unless specified otherwise, instance methods are **not** thread safe.
4+
.. note::
55

6-
The following functions are thread safe:
6+
Unless specified otherwise, instance methods are **not** thread safe.
77

8-
- :meth:`Injector.get`
9-
- injection provided by :func:`inject` decorator (please note, however, that it doesn't say anything about decorated function thread safety)
8+
The following functions are thread safe:
9+
10+
* :meth:`Injector.get`
11+
* injection provided by :func:`inject` decorator (please note, however, that it doesn't say anything about decorated function thread safety)
1012

1113

1214
.. automodule:: injector

0 commit comments

Comments
 (0)