""" dir([object]) -> list of strings
If called without an argument, return the names in the current scope.
Else, return an alphabetized list of names comprising (some of) the attributes
of the given object, and of attributes reachable from it.
If the object supplies a method named __dir__, it will be used; otherwise
the default dir() logic is used and returns:
for a module object: the module's attributes.
for a class object: its attributes, and recursively the attributes
of its bases.
for any other object: its attributes, its class's attributes, and recursively the attributes of its class's base classes. """
相关文章
- C++笔记020:const 和 #define 的对比
- spark和Hadoop之间的对比和联系-一、Spark和Hadoop的对比
- 招聘方眼里的猎聘和Boss直聘直观对比
- CMS和G1的对比分析
- SqlCe和SQLite的对比试验、结论
- Java和kotlin的对比
- Swoole 的 Hyperf 框架和 Go 的 Gin 框架高并发原理以及技术实现对比分析
- PyTorch - 改变图像的属性:亮度(brightness)、对比度(contrast)、饱和度(saturation)和色调(hue)
- RabbitMQ、RocketMQ 和 Kafka 的消息特性对比
- Excel 中 INDEX 和 VLOOKUP 的对比-5. 总结