• Guido van Rossum's avatar
    Subtle change to make None.__class__ work: · 8098ddbe
    Guido van Rossum yazdı
    - descrobject.c:descr_check(): only believe None means the same as
      NULL if the type given is None's type.
    
    - typeobject.c:wrap_descr_get(): don't "conventiently" default an
      absent type to the type of the object argument.  Let the called
      function figure it out.
    8098ddbe
typeobject.c 69.2 KB