Searched refs:comment_header (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/idlelib/ |
D | paragraph.py | 52 comment_header = get_comment_header(data) 54 first, last, comment_header, data = \ 56 if comment_header: 57 newdata = reformat_comment(data, limit, comment_header) 90 comment_header = get_comment_header(line) 91 comment_header_len = len(comment_header) 94 while get_comment_header(line)==comment_header and \ 104 get_comment_header(line)==comment_header and \ 110 return first, last, comment_header, text.get(first, last) 149 def reformat_comment(data, limit, comment_header): argument [all …]
|
/external/python/cpython2/Lib/idlelib/ |
D | FormatParagraph.py | 56 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/cpython2/Misc/Vim/ |
D | vim_syntax.py | 9 comment_header = '''" Auto-generated Vim syntax file for Python (%s: r%s). variable 164 print>>FILE, comment_header % subversion[1:]
|