Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r77279:98ee9af6cd61
Date: 2015-05-10 16:43 +0200
http://bitbucket.org/pypy/pypy/changeset/98ee9af6cd61/

Log:    Write a small comment on the same line that points to the long
        comment before (for tracebacks)

diff --git a/lib-python/2.7/socket.py b/lib-python/2.7/socket.py
--- a/lib-python/2.7/socket.py
+++ b/lib-python/2.7/socket.py
@@ -194,7 +194,7 @@
             # methods _reuse() and _drop() that maintains an explicit
             # reference counter, starting at 0.  When it drops back to
             # zero, close() must be called.
-            _sock._reuse()
+            _sock._reuse()      # please read the comment above!
 
         self._sock = _sock
 
@@ -297,7 +297,7 @@
         # methods _reuse() and _drop() that maintains an explicit
         # reference counter, starting at 0.  When it drops back to
         # zero, close() must be called.
-        sock._reuse()
+        sock._reuse()      # please read the comment above!
         self._sock = sock
         self.mode = mode # Not actually used in this version
         if bufsize < 0:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to