用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](object.xhtml "Object Protocol") | - [上一页](codec.xhtml "编解码器注册与支持功能") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) » - zh\_CN 3.7.3 [文档](../index.xhtml) » - [Python/C API 参考手册](index.xhtml) » - $('.inline-search').show(0); | # 抽象对象层 本章中的函数与 Python对象交互,无论其类型,或具有广泛类的对象类型(例如,所有数值类型,或所有序列类型)。当使用对象类型并不适用时,他们会产生一个 Python 异常。 这些函数是不可能用于未正确初始化的对象的,如一个列表对象被 [`PyList_New()`](list.xhtml#c.PyList_New "PyList_New") 创建,但其中的项目没有被设置为一些非``NULL``的值。 - [Object Protocol](object.xhtml) - [数字协议](number.xhtml) - [Sequence Protocol](sequence.xhtml) - [Mapping Protocol](mapping.xhtml) - [迭代器协议](iter.xhtml) - [缓冲协议](buffer.xhtml) - [Buffer structure](buffer.xhtml#buffer-structure) - [Buffer request types](buffer.xhtml#buffer-request-types) - [request-independent fields](buffer.xhtml#request-independent-fields) - [readonly, format](buffer.xhtml#readonly-format) - [shape, strides, suboffsets](buffer.xhtml#shape-strides-suboffsets) - [连续性的请求](buffer.xhtml#contiguity-requests) - [compound requests](buffer.xhtml#compound-requests) - [复杂数组](buffer.xhtml#complex-arrays) - [NumPy-style: shape and strides](buffer.xhtml#numpy-style-shape-and-strides) - [PIL-style: shape, strides and suboffsets](buffer.xhtml#pil-style-shape-strides-and-suboffsets) - [Buffer-related functions](buffer.xhtml#buffer-related-functions) - [Old Buffer Protocol](objbuffer.xhtml) ### 导航 - [索引](../genindex.xhtml "总目录") - [模块](../py-modindex.xhtml "Python 模块索引") | - [下一页](object.xhtml "Object Protocol") | - [上一页](codec.xhtml "编解码器注册与支持功能") | - ![](https://box.kancloud.cn/a721fc7ec672275e257bbbfde49a4d4e_16x16.png) - [Python](https://www.python.org/) » - zh\_CN 3.7.3 [文档](../index.xhtml) » - [Python/C API 参考手册](index.xhtml) » - $('.inline-search').show(0); | © [版权所有](../copyright.xhtml) 2001-2019, Python Software Foundation. Python 软件基金会是一个非盈利组织。 [请捐助。](https://www.python.org/psf/donations/) 最后更新于 5月 21, 2019. [发现了问题](../bugs.xhtml)? 使用[Sphinx](http://sphinx.pocoo.org/)1.8.4 创建。