Fix a minor typo in a docstring.

This commit is contained in:
Brett Cannon 2007-08-14 03:38:47 +00:00
parent 91a57216c9
commit 7b97e8a9c2
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ def catch_warning():
Use like this:
with catch_warning as w:
with catch_warning() as w:
warnings.warn("foo")
assert str(w.message) == "foo"
"""