[docs] [issue14586] TypeError: truncate() takes no keyword arguments

Martin Panter report at bugs.python.org
Sun Sep 20 07:24:31 CEST 2015


Martin Panter added the comment:

I agree with Guy’s earlier comments and would prefer this be fixed in the documentation. Otherwise, we would end up with third party IOBase implementations that use the wrong keyword name, or that don’t accept keywords at all. These would no longer be compatible with the new API.

Also the new patch competes with Issue 25057, also proposing keyword arguments for seek().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14586>
_______________________________________


More information about the docs mailing list