| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2fe8fc4 commit 49558fe
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,7 +36,9 @@ def indent_empty_lines(s, compiler): | |||
| 36 | 36 | def leading_tabs_to_spaces(s): | |
| 37 | 37 | lines = s.split('\n') | |
| 38 | 38 | result_lines = [] | |
| 39 | - tab_to_space = lambda m: len(m.group()) * 4 * ' ' | ||
| 39 | + | ||
| 40 | + def tab_to_space(m): | ||
| 41 | + return len(m.group()) * 4 * ' ' | ||
| 40 | 42 | for line in lines: | |
| 41 | 43 | result_lines.append(tabs_to_spaces_re.sub(tab_to_space, line)) | |
| 42 | 44 | return '\n'.join(result_lines) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments