diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-03-12 21:09:04 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-03-12 21:09:04 +0200 |
| commit | 859ff0acacf4cc843227caf86e6ef1cc55aa5713 (patch) | |
| tree | a5790e3849a7f262bc2b00b79cefd53ab1e8f13c | |
| parent | f1a9094e3db5a10502c08f33436099e1c89ded82 (diff) | |
| download | pyramid-859ff0acacf4cc843227caf86e6ef1cc55aa5713.tar.gz pyramid-859ff0acacf4cc843227caf86e6ef1cc55aa5713.tar.bz2 pyramid-859ff0acacf4cc843227caf86e6ef1cc55aa5713.zip | |
capitalize
| -rw-r--r-- | pyramid/threadlocal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/threadlocal.py b/pyramid/threadlocal.py index d99b0b734..e56f15336 100644 --- a/pyramid/threadlocal.py +++ b/pyramid/threadlocal.py @@ -52,7 +52,7 @@ def get_current_registry(context=None): # context required by getSiteManager API global application registry if no request is currently active. This function should be used *extremely sparingly*, usually only - in unit testing code. it's almost always usually a mistake to use + in unit testing code. It's almost always usually a mistake to use ``get_current_registry`` outside a testing context because its usage makes it possible to write code that can be neither easily tested nor scripted. |
