Browse Source
In order to add a new key to both __objects and __functions dicts on jsinterp.py, it is necessary to first verify if a key was present and if not, create the key and assign it to a value. However, this can be done with a single step using dict setdefault method.master
Lucas Moura
8 years ago
committed by
Sergey M․
1 changed files with 3 additions and 5 deletions
Loading…