Searched refs:expandtabs (Results 1 – 23 of 23) sorted by relevance
/third_party/python/Tools/scripts/ |
D | pindent.py | 101 indentsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument 107 self.expandtabs = expandtabs 121 if self.expandtabs: 122 self._write(line.expandtabs(self.tabsize)) 266 indent = len(indentws.expandtabs(self.tabsize)) 267 current = len(currentws.expandtabs(self.tabsize)) 280 current = len(currentws.expandtabs(self.tabsize)) 332 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument 333 pi = PythonIndenter(input, output, stepsize, tabsize, expandtabs) 338 stepsize = STEPSIZE, tabsize = TABSIZE, expandtabs = EXPANDTABS): argument [all …]
|
D | untabify.py | 36 newtext = text.expandtabs(tabsize)
|
D | reindent.py | 186 self.lines = [_rstrip(line).expandtabs() + "\n"
|
/third_party/python/Lib/idlelib/ |
D | format.py | 143 if len((partial + word).expandtabs()) > limit and \ 209 return m.end(), len(m.group().expandtabs(tabwidth)) 341 lines[pos] = lines[pos].expandtabs(tabwidth)
|
D | pyparse.py | 491 return len(code[i:j].expandtabs(self.tabwidth)) + extra 557 return len(code[self.stmt_start:i].expandtabs(\
|
D | editor.py | 1298 have = len(chars.expandtabs(tabwidth)) 1306 have = len(chars.expandtabs(tabwidth)) 1343 effective = len(prefix.expandtabs(self.tabwidth)) 1548 return m.end(), len(m.group().expandtabs(tabwidth))
|
D | ChangeLog | 899 return len(string.expandtabs(str[self.stmt_start :
|
/third_party/python/Lib/test/test_json/ |
D | test_indent.py | 45 self.assertEqual(d2, expect.expandtabs(2))
|
/third_party/ltp/tools/sparse/sparse-src/Documentation/sphinx/ |
D | cdoc.py | 293 lst.append(l.expandtabs(8), filename, lineno)
|
/third_party/python/Lib/ |
D | textwrap.py | 154 text = text.expandtabs(self.tabsize)
|
D | inspect.py | 650 expline = line.expandtabs() 750 lines = doc.expandtabs().split('\n') 1020 comments.append(lines[end].expandtabs()) 1030 comments = [lines[end].expandtabs().lstrip()] 1033 comment = lines[end].expandtabs().lstrip() 1038 comment = lines[end].expandtabs().lstrip()
|
D | trace.py | 324 outfile.write(line.expandtabs(8))
|
D | difflib.py | 1746 line = line.expandtabs(self._tabsize)
|
D | doctest.py | 636 string = string.expandtabs()
|
D | pydoc.py | 617 text = self.escape(text.expandtabs())
|
/third_party/python/Lib/distutils/ |
D | fancy_getopt.py | 386 text = text.expandtabs()
|
/third_party/python/Tools/unicode/ |
D | gencodec.py | 356 return '\n'.join(l).expandtabs()
|
/third_party/python/Lib/collections/ |
D | __init__.py | 1430 def expandtabs(self, tabsize=8): member in UserString 1431 return self.__class__(self.data.expandtabs(tabsize))
|
/third_party/python/Doc/library/ |
D | textwrap.rst | 175 expanded to spaces using the :meth:`expandtabs` method of *text*.
|
D | stdtypes.rst | 1621 .. method:: str.expandtabs(tabsize=8) 1636 >>> '01\t012\t0123\t01234'.expandtabs() 1638 >>> '01\t012\t0123\t01234'.expandtabs(4) 3130 .. method:: bytes.expandtabs(tabsize=8) 3131 bytearray.expandtabs(tabsize=8) 3147 >>> b'01\t012\t0123\t01234'.expandtabs() 3149 >>> b'01\t012\t0123\t01234'.expandtabs(4)
|
/third_party/python/Lib/test/ |
D | test_bigmem.py | 121 self.assertTrue(s.expandtabs() == s) 125 s = s.expandtabs(tabsize)
|
D | test_unicode.py | 2324 self.assertRaises(OverflowError, 't\tt\t'.expandtabs, sys.maxsize) 2329 self.assertIs(s.expandtabs(), s)
|
/third_party/python/Misc/ |
D | HISTORY | 3235 str/bytes.expandtabs(). 15270 - Issue #4935: The overflow checking code in the expandtabs() method common 28200 - Added strop.expandtabs() so string.expandtabs() is now much faster. 34403 - New function string.expandtabs() expands tabs in a string
|