def discard(p):
 global freelist
 x = referents[p]
 referents[p] = freelist
 freelist = p
 return x

def discard ( p ) : global freelist x = referents [ p ] referents [ p ] = freelist freelist = p return x
discard the object descriptor p .