> But your point is still well taken.  How about this one, though:
> 
>      PyDict_NEW(int) => PySetObject *
>      PyDict_ADD(s, value)
> 
> ADD would just stick value in the next empty slot (and steal its
> reference).

Sorry, I meant to say

     PyFrozenSet_NEW(int) => PySetObject *
     PyFrozenSet_ADD(s, value)

Bill
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to