New submission from Manuel Jacob:

>>> import io
>>> io.BufferedWriter(io.BytesIO(), 1024, 1024, 1024)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: BufferedReader() takes at most 2 arguments (4 given)

It should be "BufferedWriter()" instead of "BufferedReader()".

----------
messages: 182660
nosy: mjacob
priority: normal
severity: normal
status: open
title: io.BufferedWriter shows wrong type in argument error message
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17275>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to