Home
last modified time | relevance | path

Searched refs:tabnanny (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_tabnanny.py9 import tabnanny
96 self.assertEqual(tabnanny.format_witnesses(words), expected)
114 tabnanny.errprint(*args)
123 tabnanny.NannyNag(0, "foo", "bar"),
127 tabnanny.NannyNag(5, "testmsg", "testline"),
149 self.addCleanup(setattr, tabnanny, 'verbose', tabnanny.verbose)
150 tabnanny.verbose = 0 # Forcefully deactivating verbose mode.
161 tabnanny.check(dir_or_file)
185 tabnanny.verbose = 1
187 tabnanny.check(tmp_dir)
[all …]
/external/python/cpython2/Lib/idlelib/
DScriptBinding.py23 import tabnanny
66 if not self.tabnanny(filename):
69 def tabnanny(self, filename): member in ScriptBinding
72 tabnanny.process_tokens(tokenize.generate_tokens(f.readline))
79 except tabnanny.NannyNag as nag:
146 if not self.tabnanny(filename):
DChangeLog103 * pyclbr.py, tabnanny.py: tabnanny and pyclbr are now found in /Lib
448 tabnanny.py, testcode.py, Icons/folder.gif, Icons/minusnode.gif,
477 loader.py, protocol.py, pyclbr.py, setup.py, spawn.py, tabnanny.py,
543 keydefs.py, loader.py, pyclbr.py, tabnanny.py, testcode.py,
565 keydefs.py, loader.py, pyclbr.py, tabnanny.py, testcode.py,
DNEWS.txt641 - Some syntax errors were being caught by tokenize during the tabnanny
666 - Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1)
/external/python/cpython3/Lib/idlelib/
Drunscript.py13 import tabnanny
57 if not self.tabnanny(filename):
61 def tabnanny(self, filename): member in ScriptBinding
65 tabnanny.process_tokens(tokenize.generate_tokens(f.readline))
72 except tabnanny.NannyNag as nag:
132 if not self.tabnanny(filename):
DChangeLog103 * pyclbr.py, tabnanny.py: tabnanny and pyclbr are now found in /Lib
448 tabnanny.py, testcode.py, Icons/folder.gif, Icons/minusnode.gif,
477 loader.py, protocol.py, pyclbr.py, setup.py, spawn.py, tabnanny.py,
543 keydefs.py, loader.py, pyclbr.py, tabnanny.py, testcode.py,
565 keydefs.py, loader.py, pyclbr.py, tabnanny.py, testcode.py,
DNEWS2x.txt138 - Some syntax errors were being caught by tokenize during the tabnanny
163 - Changing tokenize (39046) to detect dedent broke tabnanny check (since 1.2a1)
/external/python/cpython3/Doc/library/
Dtabnanny.rst1 :mod:`tabnanny` --- Detection of ambiguous indentation
4 .. module:: tabnanny
13 **Source code:** :source:`Lib/tabnanny.py`
Dlanguage.rst21 tabnanny.rst
/external/python/cpython2/Doc/library/
Dtabnanny.rst1 :mod:`tabnanny` --- Detection of ambiguous indentation
4 .. module:: tabnanny
12 **Source code:** :source:`Lib/tabnanny.py`
Dlanguage.rst24 tabnanny.rst
/external/python/cpython3/Tools/importbench/
Dimportbench.py16 import tabnanny
96 tabnanny_wo_bytecode = _wo_bytecode(tabnanny)
131 tabnanny_writing_bytecode = _writing_bytecode(tabnanny)
161 tabnanny_using_bytecode = _using_bytecode(tabnanny)
/external/python/cpython2/Lib/test/
Dtest_sundry.py73 import tabnanny
/external/python/cpython3/Tools/
DREADME30 scripts A number of useful single-file programs, e.g. tabnanny.py
/external/python/cpython2/Tools/
DREADME33 scripts A number of useful single-file programs, e.g. tabnanny.py
/external/python/cpython2/Misc/
Dmaintainers.rst219 tabnanny tim_one (inactive)
DHISTORY97 - Bug #1224621: make tabnanny recognize IndentationErrors raised by tokenize.
5562 tabnanny.NannyNag, and xdrlib.Error.
9414 tabnanny - check Python sources for tab-width dependance. (Moved from
10481 * Lib/urllib.py: pleasing the tabnanny
11069 - tabnanny.py: added a -q ('quiet') option to tabnanny, which causes
11846 - The 1.5.1 tabnanny.py suffers an assert error if fed a script whose
11969 tabnanny.py and tabpolice.py below.)
11986 - There are two new tools in Tools/scripts: tabnanny.py and
11989 of a tab. The preferred module is tabnanny.py (by Tim Peters).
12060 they weren't already consistent according to tabnanny. This means
Dcheatsheet1987 tabnanny,/font> Check Python source for ambiguous indentation.
/external/python/cpython3/Doc/faq/
Dwindows.rst272 You may also run the :mod:`tabnanny` module to check a directory tree
/external/python/cpython2/Doc/faq/
Dwindows.rst298 run Python with the :option:`-t` switch or run the :mod:`tabnanny` module to
/external/python/cpython3/Doc/whatsnew/
D2.0.rst1117 * :mod:`tabnanny`: A module/script to check Python source code for ambiguous
/external/python/cpython2/Doc/whatsnew/
D2.0.rst1117 * :mod:`tabnanny`: A module/script to check Python source code for ambiguous
/external/python/cpython3/Misc/
DHISTORY9247 - Issue #12811: tabnanny.check() now promptly closes checked files. Patch by
13382 - Issue #8774: tabnanny uses the encoding cookie (#coding:...) to use the
17481 - Bug #1224621: make tabnanny recognize IndentationErrors raised by tokenize.
22946 tabnanny.NannyNag, and xdrlib.Error.
26793 tabnanny - check Python sources for tab-width dependence. (Moved from
27860 * Lib/urllib.py: pleasing the tabnanny
28448 - tabnanny.py: added a -q ('quiet') option to tabnanny, which causes
29225 - The 1.5.1 tabnanny.py suffers an assert error if fed a script whose
29348 tabnanny.py and tabpolice.py below.)
29365 - There are two new tools in Tools/scripts: tabnanny.py and
[all …]