diff options
author | Thomas Wouters <thomas@python.org> | 2000-08-17 22:55:00 +0000 |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-08-17 22:55:00 +0000 |
commit | 5215225ea1e3200b572775639d567f5e3f489a15 (patch) | |
tree | 8202d4aebf513dc8c8a80adf018f13270386e658 /Include/opcode.h | |
parent | 1d75a79c009e500923128716a02efbe86135e64e (diff) | |
download | cpython-git-5215225ea1e3200b572775639d567f5e3f489a15.tar.gz |
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.
Diffstat (limited to 'Include/opcode.h')
-rw-r--r-- | Include/opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/opcode.h b/Include/opcode.h index 78505b721d..1bd89ee876 100644 --- a/Include/opcode.h +++ b/Include/opcode.h @@ -65,7 +65,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. #define LOAD_LOCALS 82 #define RETURN_VALUE 83 - +#define IMPORT_STAR 84 #define EXEC_STMT 85 #define POP_BLOCK 87 |