summaryrefslogtreecommitdiff
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2015-09-29 18:38:22 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2015-09-29 18:38:22 +0300
commit11adfb99902882b62bae6f7150dba37b49564736 (patch)
tree303f3d59a51a1c25ca17457de30ad7191686108e /Lib/asyncio
parent6dcada3bcfbaa35930a55bf67e5d6393f444f68a (diff)
parente4be3c25974e70708147183b187d30dc96ddd552 (diff)
downloadcpython-git-11adfb99902882b62bae6f7150dba37b49564736.tar.gz
Merge 3.5 -> default
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/streams.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index 6484c435aa..bb9fb313af 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -324,7 +324,7 @@ class StreamReader:
def __repr__(self):
info = ['StreamReader']
if self._buffer:
- info.append('%d bytes' % len(info))
+ info.append('%d bytes' % len(self._buffer))
if self._eof:
info.append('eof')
if self._limit != _DEFAULT_LIMIT: