Author: Manuel Jacob <m...@manueljacob.de>
Branch: 
Changeset: r95850:130e45a48a66
Date: 2019-02-06 01:17 +0100
http://bitbucket.org/pypy/pypy/changeset/130e45a48a66/

Log:    Rename stream -> w_stream.

diff --git a/pypy/module/zlib/interp_zlib.py b/pypy/module/zlib/interp_zlib.py
--- a/pypy/module/zlib/interp_zlib.py
+++ b/pypy/module/zlib/interp_zlib.py
@@ -235,11 +235,11 @@
     """
     Create a new z_stream and call its initializer.
     """
-    stream = space.allocate_instance(Compress, w_subtype)
-    stream = space.interp_w(Compress, stream)
-    Compress.__init__(stream, space, level,
+    w_stream = space.allocate_instance(Compress, w_subtype)
+    w_stream = space.interp_w(Compress, w_stream)
+    Compress.__init__(w_stream, space, level,
                       method, wbits, memLevel, strategy)
-    return stream
+    return w_stream
 
 
 Compress.typedef = TypeDef(
@@ -387,10 +387,10 @@
     """
     Create a new Decompress and call its initializer.
     """
-    stream = space.allocate_instance(Decompress, w_subtype)
-    stream = space.interp_w(Decompress, stream)
-    Decompress.__init__(stream, space, wbits)
-    return stream
+    w_stream = space.allocate_instance(Decompress, w_subtype)
+    w_stream = space.interp_w(Decompress, w_stream)
+    Decompress.__init__(w_stream, space, wbits)
+    return w_stream
 
 
 Decompress.typedef = TypeDef(
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to