Get built in method signature - Python

前端 未结 1 1126
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 18:57

How do I get the signature of built in methods? Example: dict().get(k)

>> a = dict().get
>> a


        
1条回答
  •  后悔当初
    2021-02-20 19:24

    I don't think this is possible for the built-in functions in python that are implemented in C. See this bug discussion for further details.

    0 讨论(0)
提交回复
热议问题