I want to add a method to a single instance of the \'list\' class. Example:
a = [1,2] a.first = lambda self: return self[0]
I know this don\'t
Nothing will work with a native list, since you cannot add methods to a type defined in C. You will need to derive from list and add your method to that class.
list