Pythonのインデントがタブなのか、空白8文字なのか、4文字なのか、比較的新しいブログのエントリーでもブレがあるので確認してみた。
PEP: 8 Style Guide for Python Code では以下のように定義されている。
Indentation
54
55 Use 4 spaces per indentation level.
56
57 For really old code that you don't want to mess up, you can continue to
58 use 8-space tabs.
ふむふむ。
0 件のコメント:
コメントを投稿