[issue36278] Truncate method

2019-03-12 Thread Josh Rosenberg
Change by Josh Rosenberg : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> File truncate() not defaulting to current position as documented ___ Python tracker _

[issue36278] Truncate method

2019-03-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like a similar report to issue26158 where truncate refers to the position of the underlying buffer and could be documented better. -- nosy: +serhiy.storchaka, xtreak ___ Python tracker

[issue36278] Truncate method

2019-03-12 Thread Cavad Salmanov
New submission from Cavad Salmanov : I created a new file for researching truncate() method. and I writed this text: alma armud heyva nar qarpiz yemis I wanted to delete all the text apart from first line by truncate method. I writed these codes on python idle: ___