(code_fragment)
| 41 | self.more = None |
| 42 | |
| 43 | def symbol_for_fragment(code_fragment): |
| 44 | if code_fragment.is_single_line: |
| 45 | symbol = "single" |
| 46 | else: |
| 47 | if IS_JYTHON: |
| 48 | symbol = "single" # Jython doesn't support exec |
| 49 | else: |
| 50 | symbol = "exec" |
| 51 | return symbol |
| 52 | |
| 53 | symbol_for_fragment = staticmethod(symbol_for_fragment) |
| 54 |