[python] erase element from dict
on Fri Nov 16 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
How do I do the subject?
You could give more context for your question, but after some head-scratching I've concluded you want: d.attr("__delitem__")(item) Does that help? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
David Abrahams <dave <at> boost-consulting.com> writes:
on Fri Nov 16 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
How do I do the subject?
You could give more context for your question, but after some head-scratching I've concluded you want:
d.attr("__delitem__")(item)
Does that help?
Thanks, I just wonder was it did not make it into C++ interface. Gennadiy
on Sat Nov 17 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
David Abrahams <dave <at> boost-consulting.com> writes:
on Fri Nov 16 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
How do I do the subject?
You could give more context for your question, but after some head-scratching I've concluded you want:
d.attr("__delitem__")(item)
Does that help?
Thanks,
I just wonder *why* it did not make it into C++ interface.
Nobody wrote, documented, and tested a "del" function. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (2)
-
David Abrahams
-
Gennadiy Rozental