diff Lib/string.py @ 2958:4f9d4e73057c legacy-trunk

default tabsize to 8
author Guido van Rossum <guido@python.org>
date Thu, 10 Aug 1995 19:42:05 +0000
parents 17fdec2fb309
children 70183592370e
line wrap: on
line diff
--- a/Lib/string.py	Thu Aug 10 19:40:39 1995 +0000
+++ b/Lib/string.py	Thu Aug 10 19:42:05 1995 +0000
@@ -242,7 +242,7 @@
 
 # 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':