Home
last modified time | relevance | path

Searched refs:get_comment_header (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/idlelib/
DFormatParagraph.py56 comment_header = get_comment_header(data)
91 comment_header = get_comment_header(line)
95 while get_comment_header(line)==comment_header and \
105 get_comment_header(line)==comment_header and \
181 def get_comment_header(line): function
/external/python/cpython3/Lib/idlelib/
Dparagraph.py52 comment_header = get_comment_header(data)
90 comment_header = get_comment_header(line)
94 while get_comment_header(line)==comment_header and \
104 get_comment_header(line)==comment_header and \
180 def get_comment_header(line): function
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_formatparagraph.py32 Equal(fp.get_comment_header(self.test_comment), '#')
33 Equal(fp.get_comment_header(self.trailingws_comment), '#')
34 Equal(fp.get_comment_header(self.leadingws_comment), ' #')
36 Equal(fp.get_comment_header(self.leadingws_nocomment), ' ')
37 Equal(fp.get_comment_header(self.test_nocomment), '')
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_paragraph.py33 Equal(pg.get_comment_header(self.test_comment), '#')
34 Equal(pg.get_comment_header(self.trailingws_comment), '#')
35 Equal(pg.get_comment_header(self.leadingws_comment), ' #')
37 Equal(pg.get_comment_header(self.leadingws_nocomment), ' ')
38 Equal(pg.get_comment_header(self.test_nocomment), '')