/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
doctest.py | 652 want_lines = want.split('\n')
653 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]):
654 del want_lines[-1] # forget final newline & spaces after it
655 self._check_prefix(want_lines, ' '*indent, name,
657 want = '\n'.join([wl[indent:] for wl in want_lines])
[all...] |
/external/python/cpython2/Lib/ |
doctest.py | 713 want_lines = want.split('\n') 714 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]): 715 del want_lines[-1] # forget final newline & spaces after it 716 self._check_prefix(want_lines, ' '*indent, name, 718 want = '\n'.join([wl[indent:] for wl in want_lines]) [all...] |
/external/python/cpython3/Lib/ |
doctest.py | 711 want_lines = want.split('\n') 712 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]): 713 del want_lines[-1] # forget final newline & spaces after it 714 self._check_prefix(want_lines, ' '*indent, name, 716 want = '\n'.join([wl[indent:] for wl in want_lines]) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
doctest.py | 687 want_lines = want.split('\n') 688 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]): 689 del want_lines[-1] # forget final newline & spaces after it 690 self._check_prefix(want_lines, ' '*indent, name, 692 want = '\n'.join([wl[indent:] for wl in want_lines]) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
doctest.py | 687 want_lines = want.split('\n') 688 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]): 689 del want_lines[-1] # forget final newline & spaces after it 690 self._check_prefix(want_lines, ' '*indent, name, 692 want = '\n'.join([wl[indent:] for wl in want_lines]) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
doctest.py | 687 want_lines = want.split('\n') 688 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]): 689 del want_lines[-1] # forget final newline & spaces after it 690 self._check_prefix(want_lines, ' '*indent, name, 692 want = '\n'.join([wl[indent:] for wl in want_lines]) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
doctest.py | 687 want_lines = want.split('\n') 688 if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]): 689 del want_lines[-1] # forget final newline & spaces after it 690 self._check_prefix(want_lines, ' '*indent, name, 692 want = '\n'.join([wl[indent:] for wl in want_lines]) [all...] |