Home
last modified time | relevance | path

Searched refs:comment_header (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Lib/idlelib/
DFormatParagraph.py56 comment_header = get_comment_header(data)
58 first, last, comment_header, data = \
60 if comment_header:
61 newdata = reformat_comment(data, limit, comment_header)
91 comment_header = get_comment_header(line)
92 comment_header_len = len(comment_header)
95 while get_comment_header(line)==comment_header and \
105 get_comment_header(line)==comment_header and \
111 return first, last, comment_header, text.get(first, last)
150 def reformat_comment(data, limit, comment_header): argument
[all …]
/external/python/cpython3/Lib/idlelib/
Dformat.py59 comment_header = get_comment_header(data)
61 first, last, comment_header, data = \
63 if comment_header:
64 newdata = reformat_comment(data, limit, comment_header)
97 comment_header = get_comment_header(line)
98 comment_header_len = len(comment_header)
101 while get_comment_header(line)==comment_header and \
111 get_comment_header(line)==comment_header and \
117 return first, last, comment_header, text.get(first, last)
156 def reformat_comment(data, limit, comment_header): argument
[all …]
/external/python/cpython2/Misc/Vim/
Dvim_syntax.py9 comment_header = '''" Auto-generated Vim syntax file for Python (%s: r%s). variable
164 print>>FILE, comment_header % subversion[1:]