"Views And Iterators Instead Of Lists¶ Some well-known APIs no longer return lists: * dict methods dict.keys(), dict.items() and dict.values() return “views” instead of lists. For example, this no longer works: k = d.keys(); k.sort(). Use k = sorted(d) instead (this works in Python 2.5 too

rawwellrawwell のブックマーク 2009/05/30 05:51

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

What’s New In Python 3.0

    What’s New In Python 3.0¶ Author: Guido van Rossum This article explains the new features in Python 3.0, compared to 2.6. Python 3.0, also known as “Python 3000” or “Py3K”, is the first ever intent...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう