• Guido van Rossum's avatar
    - When method objects have an attribute that can be satisfied either · baf0f8f2
    Guido van Rossum yazdı
      by the function object or by the method object, the function
      object's attribute usually wins.  Christian Tismer pointed out that
      that this is really a mistake, because this only happens for special
      methods (like __reduce__) where the method object's version is
      really more appropriate than the function's attribute.  So from now
      on, all method attributes will have precedence over function
      attributes with the same name.
    baf0f8f2
classobject.c 59.6 KB