1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00

Few more python import comments

This commit is contained in:
Timothy Clem 2018-04-02 11:21:06 -07:00
parent 6c1cd03621
commit 94448277e7

View File

@ -87,6 +87,9 @@ instance Eq1 Import where liftEq = genericLiftEq
instance Ord1 Import where liftCompare = genericLiftCompare instance Ord1 Import where liftCompare = genericLiftCompare
instance Show1 Import where liftShowsPrec = genericLiftShowsPrec instance Show1 Import where liftShowsPrec = genericLiftShowsPrec
-- from a import b
-- from a import b as c
-- from a import *
instance Evaluatable Import where instance Evaluatable Import where
eval (Import name xs) = do eval (Import name xs) = do
modulePaths <- resolvePythonModules name modulePaths <- resolvePythonModules name