summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-06-02 13:42:17 +0000
committerChris McDonough <chrism@agendaless.com>2009-06-02 13:42:17 +0000
commit4e80d1f999b143da9cb4751e89f7e6e4c2c9b1b4 (patch)
treea992d4490cc3b4ac9f1eb564f62f23586e917d53
parentd4ec9f7c4d0843fc9500434e6c2d2c213d016719 (diff)
downloadpyramid-4e80d1f999b143da9cb4751e89f7e6e4c2c9b1b4.tar.gz
pyramid-4e80d1f999b143da9cb4751e89f7e6e4c2c9b1b4.tar.bz2
pyramid-4e80d1f999b143da9cb4751e89f7e6e4c2c9b1b4.zip
Note non-APIness.
-rw-r--r--repoze/bfg/request.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/repoze/bfg/request.py b/repoze/bfg/request.py
index 27e60c1d1..71f639626 100644
--- a/repoze/bfg/request.py
+++ b/repoze/bfg/request.py
@@ -7,7 +7,8 @@ from repoze.bfg.threadlocal import manager
def current_request():
"""Return the currently active request or ``None`` if no request
- is currently active.
+ is currently active. This is *not* an official API, but it's
+ going to live here 'forever' and so can be relied on to exist.
**This function should be used extremely sparingly** (read: almost
never), because its usage makes it possible to write code that can