summaryrefslogtreecommitdiff
path: root/repoze
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-20 20:06:03 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-20 20:06:03 +0000
commitbe39fa02f8c496461306ec2ce06a2708c377b509 (patch)
tree320ef1e4fd333a5a5d102ebd80d9e964a831df4c /repoze
parent154741e2a6e6478fbb74d55d1a9e163d2d722709 (diff)
downloadpyramid-be39fa02f8c496461306ec2ce06a2708c377b509.tar.gz
pyramid-be39fa02f8c496461306ec2ce06a2708c377b509.tar.bz2
pyramid-be39fa02f8c496461306ec2ce06a2708c377b509.zip
Warn against using in user code.
Diffstat (limited to 'repoze')
-rw-r--r--repoze/bfg/request.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/repoze/bfg/request.py b/repoze/bfg/request.py
index c764a2e9b..8d938e974 100644
--- a/repoze/bfg/request.py
+++ b/repoze/bfg/request.py
@@ -8,7 +8,10 @@ import repoze.bfg.interfaces
# object rather than using ``alsoProvides`` to attach the proper
# interface to an unsubclassed webob.Request. This pattern is purely
# an optimization (e.g. preventing calls to ``alsoProvides`` means the
-# difference between 590 r/s and 690 r/s on a MacBook 2GHz).
+# difference between 590 r/s and 690 r/s on a MacBook 2GHz). These
+# classes are *not* APIs. None of these classes, nor the
+# ``HTTP_METHOD_FACTORIES`` lookup dict should be imported directly by
+# user code.
class Request(WebobRequest):
implements(repoze.bfg.interfaces.IRequest)