[docs] [issue26158] File truncate() not defaulting to current position as documented

Fornax report at bugs.python.org
Tue Jan 19 13:23:00 EST 2016

Fornax added the comment:

Heh... building on Serhiy's example:

>>> f.tell()

I'm way out of my depth here. The results seem surprising, but I lack the experience to be able to say what they "should" look like. So I guess if it's working as intended and just needs clarification in the documentation, so be it.

Thanks for pointing out what's actually causing the behavior.


Python tracker <report at bugs.python.org>

More information about the docs mailing list