def ptr_type(t):
  if t in _ptr_types:
    return _ptr_types[t]
  else:
    ptr_t = PtrT(t)
    _ptr_types[t] = ptr_t
    return ptr_t
dataset/ETHPy150Open iskandr/parakeet/parakeet/ndtypes/ptr_type.py/ptr_type/original