Commit 1917ad58 authored by Raymond Hettinger's avatar Raymond Hettinger

Issue 6256: Fix stacklevel in warning message.

parent d3a4d295
......@@ -103,7 +103,7 @@ def nested(*managers):
"""
warn("With-statements now directly support multiple context managers",
DeprecationWarning, 2)
DeprecationWarning, 3)
exits = []
vars = []
exc = (None, None, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment