mirror of
https://github.com/python/cpython.git
synced 2025-10-25 18:54:53 +00:00
As the doc string for _lookupName() explains:
This routine uses a list instead of a dictionary, because a
dictionary can't store two different keys if the keys have the
same value but different types, e.g. 2 and 2L. The compiler
must treat these two separately, so it does an explicit type
comparison before comparing the values.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ast.py | ||
| consts.py | ||
| future.py | ||
| misc.py | ||
| pyassem.py | ||
| pycodegen.py | ||
| symbols.py | ||
| transformer.py | ||
| visitor.py | ||