• R
    print the real name for Functions instead of the ArgSpec (#32379) · ef8671e5
    Ren Wei (任卫) 提交于
    * print the real name for Functions instead of the ArgSpec
    
    class function method
    
    * some API's name is not __module__ + __name__
    
    so, we disard them temporarily.
    
    * update the logging format for console
    
    * ommit the top level of paddle package.
    
    * these APIs have been removed.
    
    test=document_fix
    
    * Another Error occerd
    
    * print_signatures.py 's stdout is redirect to spec file, so should not print any other info.
    
    so sad.
    
    * print the error msg to stderr
    
    * disable the __init__ magic method
    
    * update unittest for sampcd_processor.py
    
    update unittest for sampcd_processor.py
    
    * PR-CI-APPROVAL 's python interpreter name is not 'python3'.
    
    it's a python3.9;
    it does not have paddle installed yet.
    
    此句在CI流水线竟然不可以用。报python3找不到
    此句在CI流水线竟然不可以用。因为环境没有安装paddle
    
    * testing only extract api from __all__
    
    paddle module(the top module) does not have __add__
    test=document_fix
    
    * should import paddle here
    
    * update the mechanism of extractiong and executing for the sample-codes test.
    
    更新抽取代码和执行代码的逻辑
    优化输出打印
    
    * good code style
    ef8671e5
sampcd_processor.py 29.1 KB