def select(self, field): if not libcoreir_c.COREWireableCanSelect(self.ptr, str.encode(field)): raise Exception("Cannot Select this Wireable with " + field) return Select( libcoreir_c.COREWireableSelect(self.ptr, str.encode(field)), self.context)
def select(self, field): return Select( libcoreir_c.COREWireableSelect(self.ptr, str.encode(field)), self.context)