Diff of /Lib/gzip.py [11ad65] .. [a015a2] Maximize Restore

  Switch to side-by-side view

--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -124,7 +124,7 @@
     @property
     def filename(self):
         import warnings
-        warnings.warn("use the name attribute", DeprecationWarning)
+        warnings.warn("use the name attribute", DeprecationWarning, 2)
         if self.mode == WRITE and self.name[-3:] != ".gz":
             return self.name + ".gz"
         return self.name