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:
parent
6c1cd03621
commit
94448277e7
@ -87,6 +87,9 @@ instance Eq1 Import where liftEq = genericLiftEq
|
||||
instance Ord1 Import where liftCompare = genericLiftCompare
|
||||
instance Show1 Import where liftShowsPrec = genericLiftShowsPrec
|
||||
|
||||
-- from a import b
|
||||
-- from a import b as c
|
||||
-- from a import *
|
||||
instance Evaluatable Import where
|
||||
eval (Import name xs) = do
|
||||
modulePaths <- resolvePythonModules name
|
||||
|
Loading…
Reference in New Issue
Block a user