|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 huyanmin 于 2022-9-26 14:19 编辑
- class object:
- """
- The base class of the class hierarchy.
-
- When called, it accepts no arguments and returns a new featureless
- instance that has no instance attributes and cannot be given any.
- """
- def __delattr__(self, *args, **kwargs): # real signature unknown
- """ Implement delattr(self, name). """
- pass #像是此处,为啥是pass,没有源代码
- def __dir__(self, *args, **kwargs): # real signature unknown
- """ Default dir() implementation. """
- pass
- def __eq__(self, *args, **kwargs): # real signature unknown
- """ Return self==value. """
- pass
- def __format__(self, *args, **kwargs): # real signature unknown
- """ Default object formatter. """
- pass
- def __getattribute__(self, *args, **kwargs): # real signature unknown
- """ Return getattr(self, name). """
- pass
- def __ge__(self, *args, **kwargs): # real signature unknown
- """ Return self>=value. """
- pass
- def __gt__(self, *args, **kwargs): # real signature unknown
- """ Return self>value. """
- pass
- def __hash__(self, *args, **kwargs): # real signature unknown
- """ Return hash(self). """
- pass
复制代码
那说明你看的这个方法底层是用 C 语言写的,所以 Python 中看不到代码
|
|