class documentation

class MyClass(object): (source)

View In Hierarchy

Generic attribute container that exposes its instance attributes via a keys() method, similar to a dictionary.

Method keys Return the names of all instance attributes.
def keys(self): (source) ΒΆ

Return the names of all instance attributes.

Returns
dict_keysAttribute names