diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2015-11-20 08:24:02 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2015-11-20 08:24:02 (GMT) |
| commit | b4efc963d628475c79f02ecf43a4ec564b46428e (patch) | |
| tree | ee70295f62c6e30bf45acf29bd9617c1b4802a9f /Lib/tokenize.py | |
| parent | c50ec007ff1b08fd2677bdd1d785b0e0af2588df (diff) | |
| download | cpython-b4efc963d628475c79f02ecf43a4ec564b46428e.zip cpython-b4efc963d628475c79f02ecf43a4ec564b46428e.tar.gz cpython-b4efc963d628475c79f02ecf43a4ec564b46428e.tar.bz2 | |
Issue #25557: Refactor _PyDict_LoadGlobal()
Don't fallback to PyDict_GetItemWithError() if the hash is unknown: compute the
hash instead. Add also comments to explain the optimization a little bit.
Diffstat (limited to 'Lib/tokenize.py')
0 files changed, 0 insertions, 0 deletions
