summaryrefslogtreecommitdiff
path: root/Lib/stringold.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-10 19:42:05 +0000
committerGuido van Rossum <guido@python.org>1995-08-10 19:42:05 +0000
commitcdcf6e1d1eb11c27f1c024018e26ca231d7b93ed (patch)
tree1ff48ae56f94cfda12f8dc488f14a74d004947db /Lib/stringold.py
parentf348888e4fb7518c5e48a0904b36e329329ede16 (diff)
downloadcpython-cdcf6e1d1eb11c27f1c024018e26ca231d7b93ed.tar.gz
default tabsize to 8
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 602fe0a4d2..8ad900b995 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':