diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-07-17 13:35:43 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-07-17 13:35:43 (GMT) |
commit | 872dc5c457df82756de0c146babfc7938983f38c (patch) | |
tree | 56694446db6f481a11edeb386ab45483cc381eb1 | |
parent | db5860b7c71e4f65f347464933b6dacc303b3a74 (diff) | |
download | cpython-872dc5c457df82756de0c146babfc7938983f38c.zip cpython-872dc5c457df82756de0c146babfc7938983f38c.tar.gz cpython-872dc5c457df82756de0c146babfc7938983f38c.tar.bz2 |
Minor edits
-rw-r--r-- | Doc/lib/libthreading.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libthreading.tex b/Doc/lib/libthreading.tex index 5ed8e31..5b50a22 100644 --- a/Doc/lib/libthreading.tex +++ b/Doc/lib/libthreading.tex @@ -51,19 +51,19 @@ method blocks until the flag is true. \begin{classdesc*}{local}{} A class that represents thread-local data. Thread-local data are data -who's values are thread specific. To manage thread-local data, just +whose values are thread specific. To manage thread-local data, just create an instance of \class{local} (or a subclass) and store attributes on it: \begin{verbatim} - >>> mydata = threading.local() - >>> mydata.x = 1 +mydata = threading.local() +mydata.x = 1 \end{verbatim} The instance's values will be different for separate threads. For more details and extensive examples, see the documentation string -of the _threading_local module. +of the \module{_threading_local} module. \versionadded{2.4} \end{classdesc*} |