dict comprehension syntax. Raw. gistfile1.md. In Python 2.6 (or earlier), use the dict constructor: d = dict((key, value) for (key, value) in sequence).
確定! 回上一頁