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/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/
Dformat.py59 comment_header = get_comment_header(data)
97 comment_header = get_comment_header(line)
101 while get_comment_header(line)==comment_header and \
111 get_comment_header(line)==comment_header and \
187 def get_comment_header(line): function
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_format.py35 Equal(ft.get_comment_header(self.test_comment), '#')
36 Equal(ft.get_comment_header(self.trailingws_comment), '#')
37 Equal(ft.get_comment_header(self.leadingws_comment), ' #')
39 Equal(ft.get_comment_header(self.leadingws_nocomment), ' ')
40 Equal(ft.get_comment_header(self.test_nocomment), '')