numpy.dtype.flags

原文:https://docs.scipy.org/doc/numpy/reference/generated/numpy.dtype.flags.html

译者:飞龙 UsyiyiCN

校对:(虚位以待)

dtype.flags

位标志描述如何解释此数据类型。

位掩码位于ITEM_HASOBJECT,LIST_PICKLE,ITEM_IS_POINTER,中的numpy.core.multiarray NEEDS_INIT,NEEDS_PYAPI,USE_GETITEM,USE_SETITEM。这些标志的完整解释在C-API文档中;它们对用户定义的数据类型很有用。