(line)
| 857 | |
| 858 | |
| 859 | def markouterparen(line): |
| 860 | l = '' |
| 861 | f = 0 |
| 862 | for c in line: |
| 863 | if c == '(': |
| 864 | f = f + 1 |
| 865 | if f == 1: |
| 866 | l = l + '@(@' |
| 867 | continue |
| 868 | elif c == ')': |
| 869 | f = f - 1 |
| 870 | if f == 0: |
| 871 | l = l + '@)@' |
| 872 | continue |
| 873 | l = l + c |
| 874 | return l |
| 875 | |
| 876 | |
| 877 | def markoutercomma(line, comma=','): |
no outgoing calls
no test coverage detected