← Back to team overview

pymarc-team team mailing list archive

[Bug 348617] Re: We should be able to delete subfields

 

shouldn't this be implemented using the __delete__ descriptor? ( http://docs.python.org/reference/datamodel.html#descriptors )
I have yet to fully read pymarc code, but this seems like a viable option for deleting objects.

-- 
We should be able to delete subfields
https://bugs.launchpad.net/bugs/348617
You received this bug notification because you are a member of pymarc-
team, which is the registrant for pymarc.

Status in pymarc: New

Bug description:
In pymarc.field it should exist a function named del_subfield(code) that delete the subfield from the field.