making a function docstring generic rather than referencing errata