Execute a normal python statement in user namespace.
(self, cmd)
| 2917 | #------------------------------------------------------------------------- |
| 2918 | |
| 2919 | def ex(self, cmd): |
| 2920 | """Execute a normal python statement in user namespace.""" |
| 2921 | with self.builtin_trap: |
| 2922 | exec(cmd, self.user_global_ns, self.user_ns) |
| 2923 | |
| 2924 | def ev(self, expr): |
| 2925 | """Evaluate python expression expr in user namespace. |
no outgoing calls