Did I find the right examples for you? yes no

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)

src/m/a/main-HEAD/Languages/IronPython/Samples/ClrType/clrtype.py   main(Download)
        if t == Void: 
            raise TypeError("Void cannot be used in signature")
        is_typed = clr.GetPythonType(clr_type) == t
        # is_typed needs to be weakened until the generated type
        # gets explicitly published as the underlying CLR type
    def map_pinvoke_methods(self, new_type):
        pythonType = clr.GetPythonType(new_type)
        for function_info in self.get_typed_methods():
            function = function_info.function
            if hasattr(function, "DllImportAttributeDecorator"):

src/m/a/main-HEAD/Runtime/Samples/sympl/python/runtime.py   main(Download)
			func = Func
        else:
		    func = clr.GetPythonType(Type.GetType("System.Func`3"))
        site = DynamicObjectHelpers.GetSites.get(name)
        if site is None:
			action = Action
        else:
		    action = clr.GetPythonType(Type.GetType("System.Action`3"))
        site = DynamicObjectHelpers.SetSites.get(name)
        if site is None:

src/p/y/pycon2010-HEAD/clrtype.py   pycon2010(Download)
        if t == Void: 
            raise TypeError("Void cannot be used in signature")
        is_typed = clr.GetPythonType(clr_type) == t
        # is_typed needs to be weakened until the generated type
        # gets explicitly published as the underlying CLR type
    def map_pinvoke_methods(self, new_type):
        pythonType = clr.GetPythonType(new_type)
        for function_info in self.get_typed_methods():
            function = function_info.function
            if hasattr(function, "DllImportAttributeDecorator"):

src/m/a/main-HEAD/Languages/IronPython/Tests/test_isinstance.py   main(Download)
    # as well as GetPythonType
    import System
    AreEqual(clr.GetPythonType(System.Int32), int)
    AreEqual(clr.GetPythonType(clr.GetClrType(int)), int)
 

src/m/a/main-HEAD/Languages/IronPython/Tests/test_missing.py   main(Download)
def TestCalls(t):
    t = clr.GetPythonType(t)
    for i in range(1, counter):
        n = "Test_%d" % i
        r = getattr(t, n)()

src/i/r/ironpython3-HEAD/Tests/test_isinstance.py   ironpython3(Download)
    # as well as GetPythonType
    import System
    AreEqual(clr.GetPythonType(System.Int32), int)
    AreEqual(clr.GetPythonType(clr.GetClrType(int)), int)
 

src/i/r/ironpython3-HEAD/Tests/test_missing.py   ironpython3(Download)
def TestCalls(t):
    t = clr.GetPythonType(t)
    for i in range(1, counter):
        n = "Test_%d" % i
        r = getattr(t, n)()