This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init() now directly stores a copy of locals().
We always start with an empty __dict__, and the dict.copy() method appears to be a bit faster than dict.update(). Also, 'self' always exists in locals() so we can just delete that key directly (instead of calling dict.pop()).
- Loading branch information