Lines Matching refs:line
8 Or, at the shell command line outside of Python:
174 indented to line up with blocks of code, any whitespace than can be
175 uniformly removed from the second line onwards is removed."""
192 """Split a doc string into a synopsis line (if any) and the rest."""
334 line = file.readline()
335 while line[:1] == '#' or not line.strip():
336 line = file.readline()
337 if not line: break
338 line = line.strip()
339 if line[:4] == 'r"""': line = line[1:]
340 if line[:3] == '"""':
341 line = line[3:]
342 if line[-1:] == '\\': line = line[:-1]
343 while not line.strip():
344 line = file.readline()
345 if not line: break
346 result = line.split('"""')[0].strip()
351 """Get the one-line summary out of a module file."""
1172 """Indent text by prepending a given prefix to each line."""
1174 lines = [prefix + line for line in text.split('\n')]
1535 line = (name and name + ' = ' or '') + repr
1536 chop = maxlen - len(line)
1538 line = (name and self.bold(name) + ' = ' or '') + repr
1542 line += '\n' + self.indent(str(doc)) + '\n'
1543 return line
2037 """Read one line, using input() when appropriate."""
2079 with a one-line summary of what it does; to list the modules whose name
2274 """Print all the one-line module summaries that contain a substring."""
2617 contents = '<br>'.join(html.escape(line) for line in
2710 # -------------------------------------------------- command-line interface
2754 """Command-line interface (looks at sys.argv to decide what to do)."""