summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2015-09-29 15:36:44 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2015-09-29 15:36:44 (GMT)
commite4be3c25974e70708147183b187d30dc96ddd552 (patch)
tree827f0d4bc105803cafcd4a1b18db24e1a357333b /Lib/asyncio
parentad4003c7fb9072c2697480ee84440408f7a49cd9 (diff)
parentd94c1b92ed6420044d38b59371fd934b9ca9a79f (diff)
downloadcpython-e4be3c25974e70708147183b187d30dc96ddd552.zip
cpython-e4be3c25974e70708147183b187d30dc96ddd552.tar.gz
cpython-e4be3c25974e70708147183b187d30dc96ddd552.tar.bz2
Merge 3.4 -> 3.5
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 6484c43..bb9fb31 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: