Python引用某一文件的方法出現紅色波浪線


from parse import parse_url#引用parse里面的方法 結果出現波浪線並提示

This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing,
this is possible in a limited but useful number of cases.
Top-level and class-level items are supported better than instance items.
解決方法 文件->設置->->選擇parse.py所在文件夾->右鍵選擇來源(第一個 source)->變成藍色

 

 
        

 






免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM