This is the first example we meet when we face with decorators. But I\'m not able to realize what exactly I would like.
I\'m trying to introspect a postgres 8.3 database to retrieve details of its foreign keys.Imagine I have the following schema:
Does anyone have any re开发者_如何学Pythonferences for building a full Object/Class reflection system in C++ ?
Suppose I have code like: x = 0 y = 1 z = 2 my_list = [x, y, z] for item in my_list: print("handling object ", name(item)) # <--- what would go instead of `name`?