Every line of 'python comment block' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
339 def c_comment(s): 340 indent() 341 out('/* ') 342 out_Str(s) 343 out(' */\n')
387 def comment(self, text): 388 return " /* {} */ ".format(text)
5 def get_comment(self): 6 return ("# ", "")
328 def LineCommentBlock(comments): 329 inl_words = ' '.join(re.sub(r'^\s*#+\s*', ' ', ln) 330 for ln in comments.lines).split() 331 if not inl_words: 332 block = IndentBlock(TextBlock('#')) 333 else: 334 block = IndentBlock(WrapBlock(map(TextBlock, inl_words), 335 break_mult=_options.adj_comment, prefix='# ')) 336 block.is_breaking = True 337 return block