diff Python/pythonmain.c @ 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 85140b354890
children
line wrap: on
line diff