summaryrefslogtreecommitdiff
path: root/docs/narr/threadlocals.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-01-18 18:07:12 +0000
committerChris McDonough <chrism@agendaless.com>2010-01-18 18:07:12 +0000
commitc5f24b2957a2a7569d70930ac5bc630cc5aaac55 (patch)
treeb6c09425e10c2900bf2120dfe4d390e9070f960c /docs/narr/threadlocals.rst
parente4ed8fdb6acc8a9b040c8f61221da0e79821e071 (diff)
downloadpyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.tar.gz
pyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.tar.bz2
pyramid-c5f24b2957a2a7569d70930ac5bc630cc5aaac55.zip
Prep for b1
Merge a bunch of paper-based docs fixes Configure logging during bfgshell.
Diffstat (limited to 'docs/narr/threadlocals.rst')
-rw-r--r--docs/narr/threadlocals.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/threadlocals.rst b/docs/narr/threadlocals.rst
index 4600b7a88..a2f5cc192 100644
--- a/docs/narr/threadlocals.rst
+++ b/docs/narr/threadlocals.rst
@@ -1,5 +1,5 @@
.. index::
- single: thread local variables
+ single: thread locals
single: get_current_request
single: get_current_registry
@@ -132,9 +132,9 @@ follows:
ever be called within application-specific forks of third-party
library code. The library you've forked almost certainly has
nothing to do with :mod:`repoze.bfg`, and making it dependent on
- repoze.bfg (rather than making your :mod:`repoze.bfg` application
- depend upon it) means you're forming a dependency in the wrong
- direction.
+ :mod:`repoze.bfg` (rather than making your :mod:`repoze.bfg`
+ application depend upon it) means you're forming a dependency in the
+ wrong direction.
Use of the :func:`repoze.bfg.threadlocal.get_current_request` function
in application code *is* still useful in very limited circumstances.