summaryrefslogtreecommitdiff
path: root/repoze/bfg/request.py
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-09 00:34:50 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-09 00:34:50 +0000
commit8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9 (patch)
treeb0525c11e88c5adf6c233c09d7e9318429d54265 /repoze/bfg/request.py
parentf46de3bb0a9d2c9823aa3221fd28d80aed65b719 (diff)
downloadpyramid-8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9.tar.gz
pyramid-8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9.tar.bz2
pyramid-8b1f6e5ed3f9fc32b5eb03257d24eaf754a797a9.zip
- General documentation freshening which takes imperative
configuration into account in more places and uses glossary references more liberally.
Diffstat (limited to 'repoze/bfg/request.py')
-rw-r--r--repoze/bfg/request.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/repoze/bfg/request.py b/repoze/bfg/request.py
index a7f4f32ba..f3443dfa2 100644
--- a/repoze/bfg/request.py
+++ b/repoze/bfg/request.py
@@ -7,9 +7,9 @@ from webob import Request as WebobRequest
from repoze.bfg.interfaces import IRequest
def make_request_ascii(event):
- """ An event handler that causes the request charset to be ASCII;
- used as an INewRequest subscriber so code written before 0.7.0 can
- continue to work without a change"""
+ """ An function that is useful as a ``INewRequest`` :term:`event`
+ :term:`subscriber` that causes the request charset to be ASCII so
+ code written before 0.7.0 can continue to work without a change"""
request = event.request
request.charset = None