summaryrefslogtreecommitdiff
path: root/Lib/asyncio/streams.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2015-09-29 18:36:44 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2015-09-29 18:36:44 +0300
commite4be3c25974e70708147183b187d30dc96ddd552 (patch)
tree827f0d4bc105803cafcd4a1b18db24e1a357333b /Lib/asyncio/streams.py
parentad4003c7fb9072c2697480ee84440408f7a49cd9 (diff)
parentd94c1b92ed6420044d38b59371fd934b9ca9a79f (diff)
downloadcpython-git-e4be3c25974e70708147183b187d30dc96ddd552.tar.gz
Merge 3.4 -> 3.5
Diffstat (limited to 'Lib/asyncio/streams.py')
-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: