Lines Matching refs:lines
16 Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines
88 lines = split(strip(doc), '\n')
89 if len(lines) == 1:
90 return lines[0], ''
91 elif len(lines) >= 2 and not rstrip(lines[1]):
92 return lines[0], join(lines[2:], '\n')
93 return '', join(lines, '\n')
1004 lines = split(text, '\n')
1005 lines = map(lambda line, prefix=prefix: prefix + line, lines)
1006 if lines: lines[-1] = rstrip(lines[-1])
1007 return join(lines, '\n')
1397 lines = split(plain(text), '\n')
1409 r = inc = os.environ.get('LINES', 25) - 1
1410 sys.stdout.write(join(lines[:inc], '\n') + '\n')
1411 while lines[r:]:
1420 sys.stdout.write('\r \r' + lines[r] + '\n')
1426 sys.stdout.write('\n' + join(lines[r:r+inc], '\n') + '\n')
2345 Search for a keyword in the synopsis lines of all available modules.