diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2015-09-29 15:36:00 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2015-09-29 15:36:00 (GMT) |
commit | d94c1b92ed6420044d38b59371fd934b9ca9a79f (patch) | |
tree | 71c82c277c8175ad27a8ef228c2a10b8e1283728 /Lib/asyncio/streams.py | |
parent | 85976b14ddb941670ee831ed18b5bc69ca1380ac (diff) | |
download | cpython-d94c1b92ed6420044d38b59371fd934b9ca9a79f.zip cpython-d94c1b92ed6420044d38b59371fd934b9ca9a79f.tar.gz cpython-d94c1b92ed6420044d38b59371fd934b9ca9a79f.tar.bz2 |
Fix StreamReader.__repr__
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r-- | Lib/asyncio/streams.py | 2 |
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: |