回答編集履歴

1

Language Reference へのリンクを追加

2017/01/20 00:54

投稿

matobaa
matobaa

スコア2493

test CHANGED
@@ -1,6 +1,6 @@
1
1
  Pythonのバージョンが2.7未満であることが原因です。
2
2
 
3
- Dict `{k:v, ... }` における内包表記 `for target_list in or_list` が使えるのは Python 2.7以降です。
3
+ Dict `{k:v, ... }` における[内包表記](https://docs.python.org/2/reference/expressions.html#displays-for-sets-and-dictionaries) `for target_list in or_list` が使えるのは Python 2.7以降です。
4
4
 
5
5
  参考: [PEP 274](https://www.python.org/dev/peps/pep-0274/)
6
6