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
--- a/Include/opcode.h	Thu Aug 17 22:37:32 2000 +0000
+++ b/Include/opcode.h	Thu Aug 17 22:55:00 2000 +0000
@@ -65,7 +65,7 @@
 
 #define LOAD_LOCALS	82
 #define RETURN_VALUE	83
-
+#define IMPORT_STAR	84
 #define EXEC_STMT	85
 
 #define POP_BLOCK	87