Execute a normal python statement in user namespace.
(self, cmd)
| 2680 | #------------------------------------------------------------------------- |
| 2681 | |
| 2682 | def ex(self, cmd): |
| 2683 | """Execute a normal python statement in user namespace.""" |
| 2684 | with self.builtin_trap: |
| 2685 | exec(cmd, self.user_global_ns, self.user_ns) |
| 2686 | |
| 2687 | def ev(self, expr): |
| 2688 | """Evaluate python expression expr in user namespace. |
no outgoing calls