summaryrefslogtreecommitdiffstats
path: root/Lib/stringold.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stringold.py')
-rw-r--r--Lib/stringold.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stringold.py b/Lib/stringold.py
index 602fe0a..8ad900b 100644
--- a/Lib/stringold.py
+++ b/Lib/stringold.py
@@ -242,7 +242,7 @@ def zfill(x, width):
# Expand tabs in a string.
# Doesn't take non-printing chars into account, but does understand \n.
-def expandtabs(s, tabsize):
+def expandtabs(s, tabsize=8):
res = line = ''
for c in s:
if c == '\t':