Permalink
Browse files

Fix lint errors.

  • Loading branch information...
Andy Chu
Andy Chu committed Feb 7, 2018
1 parent e289c9a commit 0b69297b54391cc68871c594f7c3d9f062916afe
Showing with 2 additions and 7 deletions.
  1. +2 −7 osh/meta.py
View
@@ -5,7 +5,7 @@
Another "thin waist" of the interpreter. It can be happen at compile time!
We are following the code <-> data pattern, and this is the "data" module.
id_kind and ASDL are the code.
id_kind and asdl are the "code" modules.
Usage:
from osh.meta import Id, Kind, ast, ID_SPEC
@@ -14,12 +14,7 @@
from asdl import py_meta
from asdl import asdl_ as asdl
# These are metaprogramming libraries. Everything can happen at compile time.
# Could move these to a dir like meta? From meta import id_kind? From meta
# import asdl?
from core import id_kind
from osh import ast_
from core import util
@@ -84,7 +79,7 @@ def IdInstance(i):
types = _AsdlModule()
if 0:
py_meta.MakeTypes(_asdl_module, ast, _type_lookup)
py_meta.MakeTypes(_asdl_module, types, _type_lookup)
else:
# Exported for the generated code to use
TYPES_TYPE_LOOKUP = _type_lookup

0 comments on commit 0b69297

Please sign in to comment.