Rename SubModule to Module, because that's a more fitting description. There were reasons for the name before the new fast parser, but those don't exist anymore.

This commit is contained in:
Dave Halter
2015-02-05 14:16:43 +01:00
parent c689573b0b
commit 0c1bbf78e2
4 changed files with 9 additions and 24 deletions

View File

@@ -90,7 +90,7 @@ class Parser(object):
'expr_stmt': pt.ExprStmt,
'classdef': pt.Class,
'funcdef': pt.Function,
'file_input': pt.SubModule,
'file_input': pt.Module,
'import_name': pt.ImportName,
'import_from': pt.ImportFrom,
'break_stmt': pt.KeywordStatement,