4 ms·
Note also that the behavior changed in Python 3: exec is now a function, and changes to locals made through exec won't show up in the original scope.
by comex 15y ago
Note also that the behavior changed in Python 3: exec is now a function, and changes to locals made through exec won't show up in the original scope.
- dcrosta 15y agoThanks -- I updated the post with a note about Py3k.