summaryrefslogtreecommitdiffstats
path: root/Lib/StringIO.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r--Lib/StringIO.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py
index 6422f76..4739d13 100644
--- a/Lib/StringIO.py
+++ b/Lib/StringIO.py
@@ -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: