Did I find the right examples for you? yes no

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

        def validate_memslice_dtype(pos, dtype):
    if not valid_memslice_dtype(dtype):
        error(pos, "Invalid base type for memoryview slice: %s" % dtype)
        


src/c/y/Cython-0.20.1/Cython/Compiler/FusedNode.py   Cython(Download)
                arg.type = arg.type.specialize(fused_to_specific)
                if arg.type.is_memoryviewslice:
                    MemoryView.validate_memslice_dtype(arg.pos, arg.type.dtype)
 
    def create_new_local_scope(self, node, env, f2s):

src/c/y/cython-HEAD/Cython/Compiler/FusedNode.py   cython(Download)
                arg.type = arg.type.specialize(fused_to_specific)
                if arg.type.is_memoryviewslice:
                    MemoryView.validate_memslice_dtype(arg.pos, arg.type.dtype)
 
    def create_new_local_scope(self, node, env, f2s):