This page describes pythons dictionary.keys() Method as follows:
This, however, is only correct in python 2.x, in python 3.x the keys() method returns a dict_keys Object.
Please note that i have never submitted an issue to w3schools before, i dont know if this is the right place to do it or if they intended their Documentation for python 2.x only.