edsu/pymarc — Issue #22: documentation bug field.del_subfield vs field.delete_subfield
Author: godmar
Created: 2012-03-08 17:20:52+00:00
State: open

Documentation doesn't match code, creating confusion for programmers:

def delete_subfield(self, code):
"""
Deletes the first subfield with the specified 'code' and returns
its value:

field.del_subfield('a')

If no subfield is found with the specified code None is returned.
"""