Commits

Jeffrey Gelens committed 9795c8d

Also detecteds ipdb in addition to pdb

  • Participants
  • Parent commits 8695404

Comments (0)

Files changed (1)

 print_stmt = (re.compile(r'^\+\s*print\b'), 'print statement')
 debugger_stmt = (re.compile(r'^\+\s*debugger;'), 'javascript debugger')
 zero_div = (re.compile(r'^\+\s*1/0'), 'zero division error')
-set_trace = (re.compile(r'\bpdb\.set_trace\(\)'), 'set_trace')
+set_trace = (re.compile(r'\bi?pdb\.set_trace\(\)'), 'set_trace')
 vim_cmd = (re.compile(r':(w|wq|q|x)$', re.M), 'vim exit command')
 windows_nl = (re.compile(r'\r'), 'Windows newline')
 merge_marker = (re.compile(r'^(>>>>>>>|<<<<<<<)'), 'merge marker')