diff options
Diffstat (limited to 'docs/narr/threadlocals.rst')
| -rw-r--r-- | docs/narr/threadlocals.rst | 8 |
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. |
