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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pygobject-2.28.3/gi/overrides/GLib.py   PyGObject(Download)
 
from ..importer import modules
from .._gi import variant_new_tuple, variant_type_from_string
 
GLib = modules['GLib']._introspection_module
def new_tuple(cls, *elements):
    return variant_new_tuple(elements)
 
def get_string(self):
    value, length = GLib.Variant.get_string(self)

src/p/y/pygobject-HEAD/gi/overrides/GLib.py   pygobject(Download)
 
from ..importer import modules
from .._gi import variant_new_tuple, variant_type_from_string
 
GLib = modules['GLib']._introspection_module
def new_tuple(cls, *elements):
    return variant_new_tuple(elements)
 
def get_string(self):
    value, length = GLib.Variant.get_string(self)