[issue17670] expandtabs() weirdness
Alfredo Solano Martínez added the comment: It does, thank you. Maybe hat example could be added to the docuentation? -- ___ Python tracker <http://bugs.python.org/issue17
[issue17670] expandabs() weirdness
New submission from Alfredo Solano Martínez: I stumbled upon this by chance. Is the following behaviour by design? >>> s = 'a\tb' >>> s.expandtabs(1) == s.expandtabs(2) True In fact: >>> s.expandtabs(1) 'a b' # 1 space >>> s.expandtabs(