From 859ff0acacf4cc843227caf86e6ef1cc55aa5713 Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Tue, 12 Mar 2013 21:09:04 +0200 Subject: capitalize --- pyramid/threadlocal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3