Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
K
kb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • granite
  • kb
  • Wiki
    • Knowledge_share
  • doctest&typing

doctest&typing · Changes

Page history
Update doctest&typing authored Sep 14, 2021 by 王鹏举's avatar 王鹏举
Hide whitespace changes
Inline Side-by-side
Showing with 2 additions and 3 deletions
+2 -3
  • knowledge_share/doctest&typing.md knowledge_share/doctest&typing.md +2 -3
  • No files found.
knowledge_share/doctest&typing.md
View page @ e2daa8e7
...@@ -23,7 +23,7 @@ Python中的文档测试与类型标注 ...@@ -23,7 +23,7 @@ Python中的文档测试与类型标注
## `doctest`模块使用 ## `doctest`模块使用
### `testmod()`方法 ### `testmod()`方法
- 见`doctest_example.py` - 见[doctest_example.py](doctest_example.py)
### `testfile()`方法 ### `testfile()`方法
- 见`doctest_example.py` - 见`doctest_example.py`
...@@ -107,5 +107,4 @@ Python中的文档测试与类型标注 ...@@ -107,5 +107,4 @@ Python中的文档测试与类型标注
# 参考 # 参考
- [doctest --- 测试交互性的Python示例](https://docs.python.org/zh-cn/3.7/library/doctest.html) - [doctest --- 测试交互性的Python示例](https://docs.python.org/zh-cn/3.7/library/doctest.html)
- [typing --- 类型标注支持](https://docs.python.org/zh-cn/3.7/library/typing.html) - [typing --- 类型标注支持](https://docs.python.org/zh-cn/3.7/library/typing.html)
\ No newline at end of file
Clone repository
  • README
  • basic_guidelines
  • basic_guidelines
    • basic_guidelines
    • dev_guide
    • project_build
    • 开发流程
  • best_practice
  • best_practice
    • AlterTable
    • RDS
    • azkaban
    • create_table
    • design
    • elasticsearch
    • elasticsearch
      • ES运维
    • logstash
View All Pages