New submission from Serhiy Storchaka: Docstrings for seek() and truncate() methods of FileIO declare that they return None. Actually they return truncated size and new position respectively.
---------- assignee: docs@python components: Documentation, IO keywords: easy messages: 221452 nosy: benjamin.peterson, docs@python, hynek, pitrou, serhiy.storchaka, stutzbach priority: normal severity: normal stage: needs patch status: open title: Correct FileIO docstrings type: behavior versions: Python 2.7, Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21860> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com