Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(0)  |  Derive(6)  |  Import(3)
MixIn for From and Import Nodes

src/p/y/pylama_pylint-0.1.6/pylama_pylint/astroid/node_classes.py   pylama_pylint(Download)
from astroid.bases import (NodeNG, Statement, Instance, InferenceContext,
                                 _infer_stmts, YES, BUILTINS)
from astroid.mixins import BlockRangeMixIn, AssignTypeMixin, \
                                 ParentAssignTypeMixin, FromImportMixIn
 
class From(FromImportMixIn, Statement):
    """class representing a From node"""
 
    def __init__(self,  fromname, names, level=0):
        self.modname = fromname
class Import(FromImportMixIn, Statement):
    """class representing an Import node"""
 
 
class Index(NodeNG):

src/p/y/pylama_pylint-0.1.6/astroid/node_classes.py   pylama_pylint(Download)
from astroid.bases import (NodeNG, Statement, Instance, InferenceContext,
                                 _infer_stmts, YES, BUILTINS)
from astroid.mixins import BlockRangeMixIn, AssignTypeMixin, \
                                 ParentAssignTypeMixin, FromImportMixIn
 
class From(FromImportMixIn, Statement):
    """class representing a From node"""
 
    def __init__(self,  fromname, names, level=0):
        self.modname = fromname
class Import(FromImportMixIn, Statement):
    """class representing an Import node"""
 
 
class Index(NodeNG):

src/a/s/astroid-1.1.1/node_classes.py   astroid(Download)
from astroid.bases import (NodeNG, Statement, Instance, InferenceContext,
                                 _infer_stmts, YES, BUILTINS)
from astroid.mixins import BlockRangeMixIn, AssignTypeMixin, \
                                 ParentAssignTypeMixin, FromImportMixIn
 
class From(FromImportMixIn, Statement):
    """class representing a From node"""
 
    def __init__(self,  fromname, names, level=0):
        self.modname = fromname
class Import(FromImportMixIn, Statement):
    """class representing an Import node"""
 
 
class Index(NodeNG):