Kaydet (Commit) 894a7bb9 authored tarafından Guido van Rossum's avatar Guido van Rossum

default tabsize to 8

üst 18596003
......@@ -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':
......
......@@ -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':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment