summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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