commit | 1917ad587f762777d3d4c686e7ba8fae2d4e0b71 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Jun 10 16:15:02 2009 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Jun 10 16:15:02 2009 +0000 |
tree | 1a7cc6cfbc407f9c39521b9893ed166199c2eb09 | |
parent | d3a4d2951f44da7b0742e4068e69750bdcf1bb85 [diff] [blame] |
Issue 6256: Fix stacklevel in warning message.
diff --git a/Lib/contextlib.py b/Lib/contextlib.py index af701d3..6fcb536 100644 --- a/Lib/contextlib.py +++ b/Lib/contextlib.py
@@ -103,7 +103,7 @@ """ warn("With-statements now directly support multiple context managers", - DeprecationWarning, 2) + DeprecationWarning, 3) exits = [] vars = [] exc = (None, None, None)