aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib-python/3/wsgiref/validate.py')
-rw-r--r--lib-python/3/wsgiref/validate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-python/3/wsgiref/validate.py b/lib-python/3/wsgiref/validate.py
index 05a485db7a..49eaa514cc 100644
--- a/lib-python/3/wsgiref/validate.py
+++ b/lib-python/3/wsgiref/validate.py
@@ -139,9 +139,9 @@ def validator(application):
When applied between a WSGI server and a WSGI application, this
middleware will check for WSGI compliancy on a number of levels.
This middleware does not modify the request or response in any
- way, but will throw an AssertionError if anything seems off
+ way, but will raise an AssertionError if anything seems off
(except for a failure to close the application iterator, which
- will be printed to stderr -- there's no way to throw an exception
+ will be printed to stderr -- there's no way to raise an exception
at that point).
"""