发布时间:2019-09-26 07:22:53编辑:auto阅读(4069)
TODO 在 python 中作为一种 助记符 (Mnemonics),用来解释 将要做什么 。
制定于 PEP 350 – Codetags 。
TODO: Informal tasks/features that are pending completion.
例如:
可以在 TODO 里注上自己的名字:
# TODO(jn@gmail.com): Use a "*" here for string repetition.
# TODO(JN) Change this to use relations.
也可以在 TODO 里制定完成的日期:
i = i + 1 # TODO Add some more codetags.
# <JN 2017-11-23 d:2017-11-23 t:XXX d:14w p:0 s:inprogress>
上一篇: 使用Python和OpenSSL简单模拟
下一篇: Intellij IDEA 安装Pyth
51277
50721
41324
38137
32599
29506
28359
23226
23193
21517
1591°
2309°
1922°
1862°
2188°
1905°
2595°
4344°
4195°
2986°