Implement "from module import *" construct.

This commit is contained in:
Paul Sokolovsky
2014-02-14 00:22:06 +02:00
parent a8d404e0e1
commit da1ce93da8
4 changed files with 20 additions and 0 deletions

View File

@@ -390,6 +390,10 @@ void mp_byte_code_print(const byte *ip, int len) {
printf("IMPORT_FROM %s", qstr_str(qstr));
break;
case MP_BC_IMPORT_STAR:
printf("IMPORT_STAR");
break;
default:
printf("code %p, byte code 0x%02x not implemented\n", ip, op);
assert(0);