本文整理汇总了Python中builtins_generator.BuiltinsGenerator.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python BuiltinsGenerator.__init__方法的具体用法?Python BuiltinsGenerator.__init__怎么用?Python BuiltinsGenerator.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类builtins_generator.BuiltinsGenerator
的用法示例。
在下文中一共展示了BuiltinsGenerator.__init__方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from builtins_generator import BuiltinsGenerator [as 别名]
# 或者: from builtins_generator.BuiltinsGenerator import __init__ [as 别名]
def __init__(self, model):
BuiltinsGenerator.__init__(self, model)
self.internals = filter(lambda object: 'internal' in object.annotations, model.objects)
开发者ID:Comcast,项目名称:WebKitForWayland,代码行数:5,代码来源:builtins_generate_internals_wrapper_implementation.py
示例2: __init__
# 需要导入模块: from builtins_generator import BuiltinsGenerator [as 别名]
# 或者: from builtins_generator.BuiltinsGenerator import __init__ [as 别名]
def __init__(self, model, object):
BuiltinsGenerator.__init__(self, model)
self.object = object
示例3: __init__
# 需要导入模块: from builtins_generator import BuiltinsGenerator [as 别名]
# 或者: from builtins_generator.BuiltinsGenerator import __init__ [as 别名]
def __init__(self, model):
BuiltinsGenerator.__init__(self, model)
示例4: __init__
# 需要导入模块: from builtins_generator import BuiltinsGenerator [as 别名]
# 或者: from builtins_generator.BuiltinsGenerator import __init__ [as 别名]
def __init__(self, model):
BuiltinsGenerator.__init__(self, model)
self.internals = [object for object in model.objects if 'internal' in object.annotations]
开发者ID:wolfviking0,项目名称:webcl-webkit,代码行数:5,代码来源:builtins_generate_internals_wrapper_implementation.py