Created
August 26, 2018 15:54
-
-
Save GoldsteinE/9dd868a1aaa4acb0170b00de4a2c1ba2 to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tokenize | |
from construct.lexer import CodeElem, LOC | |
from construct.constructs.basic import BasicConstruct, T | |
class ConstructImportConstruct(BasicConstruct): | |
def feed(self, elem: CodeElem) -> None: | |
if not isinstance(elem, LOC): | |
return None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment