mirror of
https://github.com/python/cpython.git
synced 2025-10-21 06:02:21 +00:00
Whitespace normalization.
This commit is contained in:
parent
5303a96808
commit
58eb11cf62
34 changed files with 69 additions and 76 deletions
|
@ -142,7 +142,7 @@ class StringIO:
|
|||
return lines
|
||||
|
||||
def truncate(self, size=None):
|
||||
_complain_ifclosed(self.closed)
|
||||
_complain_ifclosed(self.closed)
|
||||
if size is None:
|
||||
size = self.pos
|
||||
elif size < 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue