Searched refs:comment_header (Results 1 – 2 of 2) sorted by relevance
/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:]
|