From ea354b725265ee447ff7af59a6acb03f52068e1b Mon Sep 17 00:00:00 2001 From: Jakub Stasiak Date: Fri, 20 Sep 2013 00:51:39 +0100 Subject: [PATCH] Fix thread-safety note --- docs/api.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 4126221..fd72bb8 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1,12 +1,14 @@ 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` -- injection provided by :func:`inject` decorator (please note, however, that it doesn't say anything about decorated function thread safety) + The following functions are thread safe: + + * :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