Timeline for Calling a function using exec
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 29, 2016 at 0:32 | vote | accept | user1179317 | ||
| Jan 27, 2016 at 14:59 | comment | added | martineau |
If you read the traceback for the error closely, you'll see that it is ocurring on line the globals()['square_it']() because that is where the function is being called with no arguments — not via the exec() (execution never gets that far).
|
|
| Jan 27, 2016 at 14:45 | answer | added | Daniel Roseman | timeline score: 1 | |
| Jan 27, 2016 at 14:44 | history | edited | Daniel Roseman | CC BY-SA 3.0 |
added 64 characters in body
|
| Jan 27, 2016 at 14:42 | history | asked | user1179317 | CC BY-SA 3.0 |