Mercurial > cpython-lru_cache-weakref
diff Include/opcode.h @ 14038:18385172fac0 legacy-trunk
Apply SF patch #101135, adding 'import module as m' and 'from module import
name as n'. By doing some twists and turns, "as" is not a reserved word.
There is a slight change in semantics for 'from module import name' (it will
now honour the 'global' keyword) but only in cases that are explicitly
undocumented.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Thu, 17 Aug 2000 22:55:00 +0000 |
| parents | 4eaa463c031a |
| children | 44e666cc8c07 |
line wrap: on
line diff
