0
A
回答
8
所有的文檔字符串應該對齊一個步驟:它們應該與方法內部的代碼對齊,而不是與方法定義對齊。
3
您必須將文檔字符串縮進到與您的代碼相同的級別。
相關問題
- 1. Python預期了縮進塊錯誤
- 2. Python:預期的縮進塊
- 3. 錯誤與Elif預期的縮進塊
- 4. Python的錯誤:IndentationError:預計縮進塊
- 5. Python的壓痕問題(錯誤:預期的縮進塊)
- 6. 「預計縮進塊錯誤」在Python
- 7. Python - 錯誤:期望的縮進塊
- 8. 縮進錯誤:預計縮進塊python 3.6
- 9. Python的 - 預期的縮進塊
- 10. 縮進錯誤 - python
- 11. Python縮進錯誤:
- 12. Python錯誤 - 縮進
- 13. python縮進錯誤
- 14. 縮進錯誤python
- 15. Python「預期的縮進塊」IndentationError?
- 16. Python IndentationError:Xcode上的「預期縮進塊」
- 17. Python的縮進問題:預期的縮進塊
- 18. Python的縮進錯誤
- 19. 的Python - 縮進錯誤
- 20. 瓶:預期的縮進塊
- 21. IndentationError預期的縮進塊
- 22. Safari中的文本縮進錯誤或預期的行爲?
- 23. 縮進錯誤-Python幀
- 24. Python解決縮進錯誤
- 25. Python縮進編譯錯誤
- 26. Django Python shell縮進錯誤
- 27. 縮進錯誤在Python
- 28. ARCGIS python,縮進錯誤?
- 29. 「預計縮進塊」的錯誤說明
- 30. 博特代碼錯誤:預期的縮進塊