Comment style braces parser for python