関数がどのように実装されているかを見たかったmath.py
のですが、PyCharm でファイルを開くと、すべての関数が空で、単純なpass
. 例えば:
def ceil(x): # real signature unknown; restored from __doc__
"""
ceil(x)
Return the ceiling of x as a float.
This is the smallest integral value >= x.
"""
pass
使われている関数が実際には C 標準ライブラリからのものだからだと思います。それはどのように機能しますか?